ole32: Add a stub implementation of CreatePointerMoniker.

This commit is contained in:
Rob Shearman 2008-01-31 14:44:36 +00:00 committed by Alexandre Julliard
parent 0eaab1add2
commit a7234c07c4
2 changed files with 25 additions and 1 deletions

View File

@ -1677,3 +1677,27 @@ void __RPC_USER MIDL_user_free(void *p)
{ {
HeapFree(GetProcessHeap(), 0, p); HeapFree(GetProcessHeap(), 0, p);
} }
/***********************************************************************
* CreatePointerMoniker (OLE32.@)
*
* Creates a moniker which represents a pointer.
*
* PARAMS
* punk [I] Pointer to the object to represent.
* ppmk [O] Address that receives the pointer to the created moniker.
*
* RETURNS
* Success: S_OK.
* Failure: Any HRESULT code.
*/
HRESULT WINAPI CreatePointerMoniker(LPUNKNOWN punk, LPMONIKER *ppmk)
{
FIXME("(%p, %p): stub\n", punk, ppmk);
if (!ppmk)
return E_INVALIDARG;
*ppmk = NULL;
return E_NOTIMPL;
}

View File

@ -92,7 +92,7 @@
@ stdcall CreateItemMoniker(wstr wstr ptr) @ stdcall CreateItemMoniker(wstr wstr ptr)
@ stub CreateObjrefMoniker @ stub CreateObjrefMoniker
@ stdcall CreateOleAdviseHolder(ptr) @ stdcall CreateOleAdviseHolder(ptr)
@ stub CreatePointerMoniker #@ stdcall (ptr ptr) return 0,ERR_NOTIMPLEMENTED @ stdcall CreatePointerMoniker(ptr ptr)
@ stdcall CreateStreamOnHGlobal(ptr long ptr) @ stdcall CreateStreamOnHGlobal(ptr long ptr)
@ stdcall DllDebugObjectRPCHook(long ptr) @ stdcall DllDebugObjectRPCHook(long ptr)
@ stdcall -private DllGetClassObject (ptr ptr ptr) @ stdcall -private DllGetClassObject (ptr ptr ptr)