Compartir a través de


IMoniker::IsSystemMoniker (Compact 2013)

3/26/2014

This method checks whether moniker is one of the system-supplied types.

Syntax

HRESULT IsSystemMoniker( 
  DWORD* pdwMksys
);

Parameters

  • pdwMksys
    [out] Pointer to an integer that is one of the values from the MKSYS enumeration, and refers to one of the COM moniker classes.

    This parameter cannot be NULL.

Return Value

The following table shows the return values for this method.

Value

Description

S_OK

The moniker is a system moniker.

S_FALSE

The moniker is not a system moniker.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Notes to Implementers

Your implementation of this method must return MKSYS_NONE.

You cannot use this function to identify your own monikers (for example, in your implementation of IMoniker::ComposeWith). Instead, you should use your moniker's implementation of the IPersist::GetClassID method or use the IUnknown::QueryInterface method to test for your own private interface.

Requirements

Header

objidl.h,
objidl.idl

Library

ole32.lib,
uuid.lib

See Also

Reference

IMoniker
IMoniker::ComposeWith
IPersist::GetClassID
IUnknown::QueryInterface