IVsSwatchClient::RealizePalette Method (IntPtr, IntPtr)

 

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)

int RealizePalette(
	IntPtr hdc,
	[OutAttribute] IntPtr% phpalOld
)

Parameters

Hdc

[In] An object of type HDC.

phpalOld
Type: System::IntPtr

[Out] A pointer to a value of type CPalette::operator HPALETTE.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsSwatchClient::RealizePalette(
   [in] HDC hdc, 
   [out, retval] HPALETTE *phpalOld
);
Return to top
Show: