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.
This interface is deprecated as of Visual Studio 2010. The Visual Studio shell no longer recognizes this interface.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function RealizePalette ( _
hdc As IntPtr, _
<OutAttribute> ByRef phpalOld As IntPtr _
) As Integer
int RealizePalette(
IntPtr hdc,
out IntPtr phpalOld
)
int RealizePalette(
[InAttribute] IntPtr hdc,
[OutAttribute] IntPtr% phpalOld
)
abstract RealizePalette :
hdc:IntPtr *
phpalOld:IntPtr byref -> int
function RealizePalette(
hdc : IntPtr,
phpalOld : IntPtr
) : int
Parameters
- hdc
Type: IntPtr
phpalOld
Type: IntPtr%[Out] A pointer to a value of type CPalette::operator HPALETTE.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsSwatchClient::RealizePalette(
[in] HDC hdc,
[out, retval] HPALETTE *phpalOld
);
.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.