IMoniker::IsSystemMoniker

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

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 Values

One of the values described in the following table is returned.

Value Description
S_OK The moniker is a system moniker.
S_FALSE The moniker is not a system moniker.

Remarks

Notes to Callers

New values of the MKSYS enumeration 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 IPersist::GetClassID or use IUnknown::QueryInterface to test for your own private interface.

Requirements

Runs On Versions Defined in Include Link to
Windows CE OS 2.0 and later Oaidl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

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

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.