Index   Commented   Search   About

IMoniker::IsSystemMoniker

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

HRESULT IsSystemMoniker(

DWORD *pdwMksys
//Receives value from MKSYS enumeration
);

Parameter

pdwMksys

[out] Receives an integer that is one of the values from the MKSYS enumeration. This parameter cannot be NULL. For information on the MKSYS enumeration, see the "Data Structures" section.

Return Values

S_OK

The moniker is a system moniker.

S_FALSE

The moniker is not a system moniker.

Comments

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 Implementors

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

See Also

IPersist::GetClassID, MKSYS

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun