Win32ApiGetDIBColorTable Method
|
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax[DllImportAttribute("gdi32", SetLastError = true)]
public static int GetDIBColorTable(
IntPtr dc,
int index,
int entries,
Win32ApiRGBQUAD[] colors
)
<DllImportAttribute("gdi32", SetLastError := true>]
Public Shared Function GetDIBColorTable (
dc As IntPtr,
index As Integer,
entries As Integer,
<OutAttribute> colors As Win32ApiRGBQUAD()
) As Integer
public:
[DllImportAttribute(L"gdi32", SetLastError = true)]
static int GetDIBColorTable(
IntPtr dc,
int index,
int entries,
[InAttribute] [OutAttribute] array<Win32ApiRGBQUAD>^ colors
)
[<DllImportAttribute("gdi32", SetLastError = true)>]
static member GetDIBColorTable :
dc : IntPtr *
index : int *
entries : int *
colors : Win32ApiRGBQUAD[] byref -> int
OpenCvSharp.Win32Api.GetDIBColorTable = function(dc, index, entries, colors);
Parameters
- dc
- Type: SystemIntPtr
- index
- Type: SystemInt32
- entries
- Type: SystemInt32
- colors
- Type: OpenCvSharpWin32ApiRGBQUAD
Return Value
Type:
Int32
See Also