Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
81c446ef
Commit
81c446ef
authored
Dec 26, 2005
by
Rolf Kalbermatter
Committed by
Alexandre Julliard
Dec 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Implement BindAsyncMoniker function.
parent
7b4d59c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
1 deletion
+37
-1
umon.c
dlls/urlmon/umon.c
+36
-0
urlmon.spec
dlls/urlmon/urlmon.spec
+1
-1
No files found.
dlls/urlmon/umon.c
View file @
81c446ef
...
...
@@ -1350,6 +1350,42 @@ HRESULT WINAPI IsAsyncMoniker(IMoniker *pmk)
}
/***********************************************************************
* BindAsyncMoniker (URLMON.@)
*
* Bind a bind status callback to an asynchronous URL Moniker.
*
* PARAMS
* pmk [I] Moniker object to bind status callback to
* grfOpt [I] Options, seems not used
* pbsc [I] Status callback to bind
* iidResult [I] Interface to return
* ppvResult [O] Resulting asynchronous moniker object
*
* RETURNS
* Success: S_OK.
* Failure: E_INVALIDARG, if any argument is invalid, or
* E_OUTOFMEMORY if memory allocation fails.
*/
HRESULT
WINAPI
BindAsyncMoniker
(
IMoniker
*
pmk
,
DWORD
grfOpt
,
IBindStatusCallback
*
pbsc
,
REFIID
iidResult
,
LPVOID
*
ppvResult
)
{
LPBC
pbc
=
NULL
;
HRESULT
hr
=
E_INVALIDARG
;
if
(
pmk
&&
ppvResult
)
{
*
ppvResult
=
NULL
;
hr
=
CreateAsyncBindCtx
(
0
,
pbsc
,
NULL
,
&
pbc
);
if
(
hr
==
NOERROR
)
{
hr
=
IMoniker_BindToObject
(
pmk
,
pbc
,
NULL
,
iidResult
,
ppvResult
);
IBindCtx_Release
(
pbc
);
}
}
return
hr
;
}
/***********************************************************************
* RegisterBindStatusCallback (URLMON.@)
*
* Register a bind status callback.
...
...
dlls/urlmon/urlmon.spec
View file @
81c446ef
...
...
@@ -7,7 +7,7 @@
@ stub AsyncGetClassBits
@ stub AsyncInstallDistributionUnit
@ st
ub BindAsyncMoniker
@ st
dcall BindAsyncMoniker(ptr long ptr ptr ptr)
@ stdcall CoGetClassObjectFromURL(ptr wstr long long wstr ptr long ptr ptr ptr)
@ stub CoInstall
@ stdcall CoInternetCombineUrl(wstr wstr long wstr long ptr long)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment