IMoniker::IsSystemMoniker  TP1JV7

Indicates whether this moniker is of one of the system-supplied moniker classes.

HRESULT IsSystemMoniker(

    DWORD *pdwMksys

//Pointer to value from MKSYS enumeration

   );

 

 

Parameter

pdwMksys

[out] Pointer to an integer that is one of the values from the MKSYSB4HLE_ enumeration, and refers to one of the OLE moniker classes. This parameter cannot be NULL.

 

Return Values

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 MKSYSB4HLE_ 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::ComposeWith1M9Y_YZ). Instead, you should use your moniker s implementation of IPersist::GetClassID15MI_PE or use IUnknown::QueryInterface2Y54585 to test for your own private interface.

See Also

IPersist::GetClassID, MKSYS