Skip to content

Latest commit

 

History

History
111 lines (88 loc) · 2.92 KB

nf-wsdclient-iwsdasyncresult-setcallback.md

File metadata and controls

111 lines (88 loc) · 2.92 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:wsdclient.IWSDAsyncResult.SetCallback
IWSDAsyncResult::SetCallback (wsdclient.h)
Specifies a callback interface to call when the asynchronous operation has completed.
IWSDAsyncResult interface
SetCallback method
IWSDAsyncResult.SetCallback
IWSDAsyncResult::SetCallback
SetCallback
SetCallback method
SetCallback method
IWSDAsyncResult interface
ncd.iwsdasyncresult_setcallback
wsdclient/IWSDAsyncResult::SetCallback
ncd\iwsdasyncresult_setcallback.htm
ncd
39fc05f8-4b09-4305-b9a4-b4ef65788efc
12/05/2018
IWSDAsyncResult interface,SetCallback method, IWSDAsyncResult.SetCallback, IWSDAsyncResult::SetCallback, SetCallback, SetCallback method, SetCallback method,IWSDAsyncResult interface, ncd.iwsdasyncresult_setcallback, wsdclient/IWSDAsyncResult::SetCallback
wsdclient.h
Wsdapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Wsdclient.idl
Wsdapi.dll
Windows
19H1
IWSDAsyncResult::SetCallback
wsdclient/IWSDAsyncResult::SetCallback
c++
APIRef
kbSyntax
COM
wsdapi.dll
IWSDAsyncResult.SetCallback

IWSDAsyncResult::SetCallback

-description

Specifies a callback interface to call when the asynchronous operation has completed.

-parameters

-param pCallback [in]

Pointer to a IWSDAsyncCallback object that contains the callback implemented by the user.

-param pAsyncState [in]

User-defined state information to pass to the callback.

-returns

This method can return one of these values.

Possible return values include, but are not limited to, the following.

Return code Description
S_OK
Method completed successfully.
E_INVALIDARG
pCallback is NULL.

-remarks

The IWSDAsyncCallback::AsyncOperationComplete method is passed the result object associated with the completing message and the state.

pCallback is released when the IWSDAsyncResult object is destroyed.

-see-also

IWSDAsyncResult