mirror of
https://github.com/reactos/wine.git
synced 2025-01-23 12:25:17 +00:00
Implemented BindMoniker function.
This commit is contained in:
parent
bc5d5d6b3b
commit
26781acb87
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user