IVsSwatchClient.RealizePalette(IntPtr, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface is deprecated as of Visual Studio 2010. The Visual Studio shell no longer recognizes this interface.
public:
int RealizePalette(IntPtr hdc, [Runtime::InteropServices::Out] IntPtr % phpalOld);
public int RealizePalette (IntPtr hdc, out IntPtr phpalOld);
abstract member RealizePalette : nativeint * nativeint -> int
Public Function RealizePalette (hdc As IntPtr, ByRef phpalOld As IntPtr) As Integer
Parameters
- hdc
-
IntPtr
nativeint
- phpalOld
-
IntPtr
nativeint
[Out] A pointer to a value of type CPalette::operator HPALETTE.
Returns
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
);