atl: Add stubs for AtlIPersistStreamInit_Load and AtlIPersistStreamInit_Save.
Based on a patch by Anastasius Focht and information from Inside ATL.
This commit is contained in:
parent
fec8156cc3
commit
be16475191
|
@ -41,8 +41,8 @@
|
||||||
47 stdcall AtlAxGetControl(long ptr)
|
47 stdcall AtlAxGetControl(long ptr)
|
||||||
48 stdcall AtlAxGetHost(long ptr)
|
48 stdcall AtlAxGetHost(long ptr)
|
||||||
49 stub AtlRegisterClassCategoriesHelper
|
49 stub AtlRegisterClassCategoriesHelper
|
||||||
50 stub AtlIPersistStreamInit_Load
|
50 stdcall AtlIPersistStreamInit_Load(ptr ptr ptr ptr)
|
||||||
51 stub AtlIPersistStreamInit_Save
|
51 stdcall AtlIPersistStreamInit_Save(ptr long ptr ptr ptr)
|
||||||
52 stub AtlIPersistPropertyBag_Load
|
52 stub AtlIPersistPropertyBag_Load
|
||||||
53 stub AtlIPersistPropertyBag_Save
|
53 stub AtlIPersistPropertyBag_Save
|
||||||
54 stub AtlGetObjectSourceInterface
|
54 stub AtlGetObjectSourceInterface
|
||||||
|
|
|
@ -534,3 +534,32 @@ void* WINAPI AtlModuleExtractCreateWndData(_ATL_MODULEW *pM)
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* FIXME: should be in a header file */
|
||||||
|
typedef struct ATL_PROPMAP_ENTRY
|
||||||
|
{
|
||||||
|
LPCOLESTR szDesc;
|
||||||
|
DISPID dispid;
|
||||||
|
const CLSID* pclsidPropPage;
|
||||||
|
const IID* piidDispatch;
|
||||||
|
DWORD dwOffsetData;
|
||||||
|
DWORD dwSizeData;
|
||||||
|
VARTYPE vt;
|
||||||
|
} ATL_PROPMAP_ENTRY;
|
||||||
|
|
||||||
|
HRESULT WINAPI AtlIPersistStreamInit_Load( LPSTREAM pStm, ATL_PROPMAP_ENTRY *pMap,
|
||||||
|
void *pThis, IUnknown *pUnk)
|
||||||
|
{
|
||||||
|
FIXME("(%p, %p, %p, %p)\n", pStm, pMap, pThis, pUnk);
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRESULT WINAPI AtlIPersistStreamInit_Save(LPSTREAM pStm, BOOL fClearDirty,
|
||||||
|
ATL_PROPMAP_ENTRY *pMap, void *pThis,
|
||||||
|
IUnknown *pUnk)
|
||||||
|
{
|
||||||
|
FIXME("(%p, %d, %p, %p, %p)\n", pStm, fClearDirty, pMap, pThis, pUnk);
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue