다음을 통해 공유


IVsSwatchClient.RealizePalette(IntPtr, IntPtr) Method

Definition

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  
);  

Applies to