IAsyncOperation::InOperation method

Called by the drop source to determine whether the target is extracting data asynchronously.

Syntax

HRESULT InOperation(
  [out] BOOL *pfInAsyncOp
);

Parameters

  • pfInAsyncOp [out]
    Type: BOOL*

    Set to VARIANT_TRUE if data extraction is being handled asynchronously, or VARIANT_FALSE otherwise.

Return value

Type: HRESULT

Returns S_OK if successful or a COM error value otherwise.

Remarks

This method is called by the drop source after DoDragDrop returns. pfInAsyncOp should be set to VARIANT_TRUE only if the drop target has called IAsyncOperation::StartOperation.

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