Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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 MKSYSenumeration, 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 Callers

New values of the MKSYSenumeration may be defined in the future; therefore you should explicitly test for each value you are interested in.

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::GetClassIDmethod or use the IUnknown::QueryInterfacemethod to test for your own private interface.

Requirements

Header objidl.h, objidl.idl
Library ole32.lib, uuid.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also