Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Retrieves a command window interface for the specified cookie.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetCommandWindowFromCookie ( _
uCookie As UInteger, _
<OutAttribute> ByRef ppunkCmdWindow As Object _
) As Integer
int GetCommandWindowFromCookie(
uint uCookie,
out Object ppunkCmdWindow
)
int GetCommandWindowFromCookie(
[InAttribute] unsigned int uCookie,
[OutAttribute] Object^% ppunkCmdWindow
)
abstract GetCommandWindowFromCookie :
uCookie:uint32 *
ppunkCmdWindow:Object byref -> int
function GetCommandWindowFromCookie(
uCookie : uint,
ppunkCmdWindow : Object
) : int
Parameters
uCookie
Type: UInt32[in] A cookie, returned by Create, specifying the window.
ppunkCmdWindow
Type: Object%[out] A pointer to a pointer to the IUnknown interface for the command window.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT SetRunningCommandWindowCommand(
[in] UINT uCookie,
[in] BOOL fCmdWin
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.