# IsAsyncMoniker

Tests if a moniker supports asynchronous binding.

HRESULT IsAsyncMoniker(

IMoniker *pmk | //Pointer to the IMoniker interface on the moniker to be tested
); |

Parameters

pmk
  [in] Pointer to the IMoniker interface on the moniker to be tested.

Return Values

S_OK
  The specified moniker is asychronous.
E_INVALIDARG
  The pmk parameter is invalid.

Remarks

A moniker implementation indicates that it is asynchronous by supporting the IAsyncMoniker interface, an empty interface that is just an implementation of IUnknown. The IsAsyncMoniker function tests for support of IAsyncMoniker and also handles composite monikers correctly.

See Also

IAsyncMoniker