Condividi tramite


IVsFontAndColorUtilities.EncodeInvalidColor(UInt32) Method

Definition

Returns a RGB (COLORREF) color value corresponding to the system defined invalid color.

public:
 int EncodeInvalidColor([Runtime::InteropServices::Out] System::UInt32 % pcrResult);
int EncodeInvalidColor([Runtime::InteropServices::Out] unsigned int & pcrResult);
public int EncodeInvalidColor (out uint pcrResult);
abstract member EncodeInvalidColor : uint32 -> int
Public Function EncodeInvalidColor (ByRef pcrResult As UInteger) As Integer

Parameters

pcrResult
UInt32

[out] A COLORREF used to indicate an invalid color selection.

Returns

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

Applies to