Compartir a través de


IsAsyncMoniker function

Tests to determine whether a moniker supports asynchronous binding.

Syntax

HRESULT IsAsyncMoniker(
  _In_ IMoniker *pmk
);

Parameters

  • pmk [in]
    The address of the IMoniker interface of the moniker to test.

Return value

Returns one of the following values.

Return code Description
E_INVALIDARG

The pmk parameter is invalid.

S_FALSE

The specified moniker is not asynchronous.

S_OK

The specified moniker is asynchronous.

 

Remarks

A moniker implementation is asynchronous if it supports the IAsyncMoniker interface, which is an empty interface that is an implementation of IUnknown. The IsAsyncMoniker function tests for support of IAsyncMoniker and handles composite monikers correctly.

No public headers define the IAsyncMoniker interface; however, you can support the interface by returning a pointer to your object in response to QueryInterface for IID_IAsyncMoniker, which is defined as follows:

DEFINE_GUID(IID_IAsyncMoniker, 0x79eac9d3,0xbaf9,0x11ce,0x8c,0x82,0x00,0xaa,0x00,0x4b,0xa9,0x0b);

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 3.0

Header

Urlmon.h

Library

Urlmon.lib

DLL

Urlmon.dll