Skip to content

Latest commit

 

History

History
129 lines (102 loc) · 3.84 KB

nf-urlmon-createasyncbindctx.md

File metadata and controls

129 lines (102 loc) · 3.84 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:urlmon.CreateAsyncBindCtx
CreateAsyncBindCtx function (urlmon.h)
Creates an asynchronous bind context for use with asynchronous monikers.
CreateAsyncBindCtx
CreateAsyncBindCtx function [COM]
_com_CreateAsyncBindCtx
com.createasyncbindctx
urlmon/CreateAsyncBindCtx
com\createasyncbindctx.htm
com
0c79b61b-d3d6-48fd-aaee-21cddad09208
12/05/2018
CreateAsyncBindCtx, CreateAsyncBindCtx function [COM], _com_CreateAsyncBindCtx, com.createasyncbindctx, urlmon/CreateAsyncBindCtx
urlmon.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Urlmon.lib
Urlmon.dll
Windows
19H1
CreateAsyncBindCtx
urlmon/CreateAsyncBindCtx
c++
APIRef
kbSyntax
DllExport
Urlmon.dll
CreateAsyncBindCtx

CreateAsyncBindCtx function

-description

Creates an asynchronous bind context for use with asynchronous monikers.

-parameters

-param reserved [in]

This parameter is reserved and must be 0.

-param pBSCb [in]

A pointer to the IBindStatusCallback interface used for receiving data availability and progress notification.

-param pEFetc [in]

A pointer to the IEnumFORMATETC interface that can be used to enumerate formats for format negotiation during binding. This parameter can be NULL, in which case the caller is not interested in format negotiation during binding, and the default format of the object will be bound to.

-param ppBC [out]

Address of an IBindCtx* pointer variable that receives the interface pointer to the new bind context.

-returns

This function can return the following values.

Return code Description
S_OK
The operation completed successfully.
E_OUTOFMEMORY
The method ran out of memory and did not complete.
E_INVALIDARG
One or more parameters are invalid.

-remarks

This function automatically registers the IBindStatusCallback and IEnumFORMATETC interfaces with the bind context. The client can specify flags from BSCO_OPTION to indicate which callback notifications the client is capable of receiving. If the client does not wish to receive certain notification, it can choose to implement those callback methods as empty function stubs (returning E_NOTIMPL), and they should not be called.

The RegisterBindStatusCallback function can also be used to register callback interfaces in the bind context.

-see-also

IBindStatusCallback

RegisterBindStatusCallback