Visual Basic (Declaration)
Function GetCmdUIContextCookie ( _
<InAttribute> ByRef rguidCmdUI As Guid, _
<OutAttribute> ByRef pdwCmdUICookie As UInteger _
) As Integer
Dim instance As IVsMonitorSelection
Dim rguidCmdUI As Guid
Dim pdwCmdUICookie As UInteger
Dim returnValue As Integer
returnValue = instance.GetCmdUIContextCookie(rguidCmdUI, pdwCmdUICookie)
int GetCmdUIContextCookie (
[InAttribute] ref Guid rguidCmdUI,
out uint pdwCmdUICookie
)
int GetCmdUIContextCookie (
[InAttribute] Guid% rguidCmdUI,
[OutAttribute] unsigned int% pdwCmdUICookie
)
int GetCmdUIContextCookie (
/** @attribute InAttribute() */ /** @ref */ Guid rguidCmdUI,
/** @attribute OutAttribute() */ /** @ref */ UInt32 pdwCmdUICookie
)
JScript does not support passing value-type arguments by reference.
Parameters
- rguidCmdUI
[in] GUID representing a specific command UI context. Command UI context GUID values are defined by the environment and by VSPackages to meet specific needs. See the Remarks section below for a list of command UI GUIDs defined by the environment.
- pdwCmdUICookie
[out] Pointer to a DWORD representing the GUID value in rguidCmdUI.
Return Value
If the method succeeds, it returns
S_OK. If it fails, it returns an error code.