Implemented BindMoniker function.

This commit is contained in:
Robert Shearman 2002-12-12 02:17:39 +00:00 committed by Alexandre Julliard
parent bc5d5d6b3b
commit 26781acb87
2 changed files with 14 additions and 1 deletions

View File

@ -556,3 +556,16 @@ HRESULT WINAPI CreateBindCtx(DWORD reserved, LPBC * ppbc)
return hr;
}
HRESULT WINAPI BindMoniker(LPMONIKER pmk, DWORD grfOpt, REFIID riid, LPVOID * ppvResult)
{
HRESULT res;
IBindCtx * pbc;
TRACE("(%p, %lx, %s, %p)\n", pmk, grfOpt, debugstr_guid(riid), ppvResult);
res = CreateBindCtx(grfOpt, &pbc);
if (SUCCEEDED(res))
res = IMoniker_BindToObject(pmk, pbc, NULL, riid, ppvResult);
return res;
}

View File

@ -1,4 +1,4 @@
1 stub BindMoniker # stdcall (ptr long ptr ptr) return 0,ERR_NOTIMPLEMENTED
1 stdcall BindMoniker(ptr long ptr ptr) BindMoniker
2 stdcall CLSIDFromProgID(wstr ptr) CLSIDFromProgID
3 stdcall CLSIDFromString(wstr ptr) CLSIDFromString
4 stdcall CoBuildVersion() CoBuildVersion