Επεξεργασία

Κοινή χρήση μέσω


IDataObjectAsyncCapability::InOperation method (shldisp.h)

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

Syntax

HRESULT InOperation(
  [out] BOOL *pfInAsyncOp
);

Parameters

[out] pfInAsyncOp

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

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)

See also

IDataObjectAsyncCapability