This document is archived and information here might be outdated. Recommended version. |
Returns an appropriate context menu id, if possible. Returns null if it cannot determine an applicable context menu.
[Visual Basic .NET] Public Sub GetContextMenu ( _ ByVal contextObject As Object, _ ByRef clsidMenu As UID _ )
[C#] public void GetContextMenu ( object contextObject, ref UID clsidMenu );
[C++]
HRESULT GetContextMenu(
LPUNKNOWN contextObject,
IUID** clsidMenu
);
[C++] Parameters contextObject [in]
contextObject is a parameter of type IUnknown clsidMenu [out]
clsidMenu is a parameter of type IUID**