Condividi tramite


IAsyncOperation::StartOperation method

Called by a drop target to indicate that asynchronous data extraction is starting.

Syntax

HRESULT StartOperation(
  [in] IBindCtx *pbcReserved
);

Parameters

  • pbcReserved [in]
    Type: IBindCtx*

    Reserved. Set this value to NULL.

Return value

Type: HRESULT

Returns S_OK if successful or a COM error value otherwise.

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 IAsyncOperation::InOperation. Once StartOperation has been called, the drop target returns the IDropTarget::Drop call as it would for normal synchronous data extraction.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shldisp.h

IDL

Shldisp.idl

DLL

Shell32.dll (version 5.0 or later)

See also

IAsyncOperation