IVsFontAndColorUtilities.EncodeInvalidColor(UInt32) 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.
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.