IDataObjectAsyncCapability::StartOperation method (shldisp.h)
Called by a drop target to indicate that asynchronous data extraction is starting.
Syntax
HRESULT StartOperation(
[in, optional] IBindCtx *pbcReserved
);
Parameters
[in, optional] pbcReserved
Type: IBindCtx*
Reserved. Set this value to nullptr.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The drop target calls this method to notify the data object that asynchronous data extraction is starting. The method should store this information so that it can be returned by IDataObjectAsyncCapability::InOperation. Once StartOperation has been called, the drop target returns the IDropTarget::Drop call as it would for normal synchronous data extraction.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | shldisp.h |
DLL | Shell32.dll (version 6.0 or later) |