Skip to main content
IDataObjectAsyncCapability::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*

VARIANT_TRUE if data extraction is being handled asynchronously; otherwise, VARIANT_FALSE.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

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

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Shldisp.h

IDL

Shldisp.idl

DLL

Shell32.dll (version 6.0 or later)

See also

IDataObjectAsyncCapability