mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 05:58:13 +00:00
- Synced wine head
svn path=/trunk/; revision=32344
This commit is contained in:
parent
4f86f92b0a
commit
1dcbc1bb71
1 changed files with 3 additions and 3 deletions
|
@ -343,9 +343,9 @@ static HRESULT WINAPI OleInPlaceSiteWindowless_GetWindowContext(IOleInPlaceSiteW
|
||||||
TRACE("(%p,%p,%p,%p,%p,%p)\n", This, ppFrame, ppDoc, lprcPosRect, lprcClipRect, lpFrameInfo);
|
TRACE("(%p,%p,%p,%p,%p,%p)\n", This, ppFrame, ppDoc, lprcPosRect, lprcClipRect, lpFrameInfo);
|
||||||
|
|
||||||
if ( lprcClipRect )
|
if ( lprcClipRect )
|
||||||
memcpy(lprcClipRect, &This->size, sizeof(RECT));
|
*lprcClipRect = This->size;
|
||||||
if ( lprcPosRect )
|
if ( lprcPosRect )
|
||||||
memcpy(lprcPosRect, &This->size, sizeof(RECT));
|
*lprcPosRect = This->size;
|
||||||
|
|
||||||
if ( ppFrame )
|
if ( ppFrame )
|
||||||
{
|
{
|
||||||
|
@ -958,7 +958,7 @@ HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR lpszName, HWND hWnd,
|
||||||
else {
|
else {
|
||||||
/* FIXME - check for MSHTML: prefix! */
|
/* FIXME - check for MSHTML: prefix! */
|
||||||
content = IsURL;
|
content = IsURL;
|
||||||
memcpy( &controlId, &CLSID_WebBrowser, sizeof(controlId) );
|
controlId = CLSID_WebBrowser;
|
||||||
}
|
}
|
||||||
|
|
||||||
hRes = CoCreateInstance( &controlId, 0, CLSCTX_ALL, &IID_IOleObject,
|
hRes = CoCreateInstance( &controlId, 0, CLSCTX_ALL, &IID_IOleObject,
|
||||||
|
|
Loading…
Reference in a new issue