147 if (!
hdc || !pBufSize)
return FALSE;
159 if (*pBufSize >=
len)
323 if (iEnableICM ==
ICM_ON)
return 0;
ACPI_SIZE strlen(const char *String)
#define ERROR_INSUFFICIENT_BUFFER
#define ERROR_CALL_NOT_IMPLEMENTED
#define ERROR_INVALID_HANDLE
#define WideCharToMultiByte
PLDC FASTCALL GdiGetLDC(HDC hDC)
#define GDI_OBJECT_TYPE_DC
#define GDI_HANDLE_GET_TYPE(h)
@ GDILoObjType_LO_METADC16_TYPE
@ GDILoObjType_LO_DC_TYPE
static const WCHAR filenameW[]
static const struct update_accum a1
static const struct update_accum a2
static const struct update_accum a3
_Use_decl_annotations_ NTSTATUS NTAPI RtlMultiByteToUnicodeN(_Out_ PWCH UnicodeString, _In_ ULONG UnicodeSize, _Out_opt_ PULONG ResultSize, _In_ PCCH MbString, _In_ ULONG MbSize)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiSetColorSpace(_In_ HDC hdc, _In_ HCOLORSPACE hColorSpace)
__kernel_entry W32KAPI HANDLE APIENTRY NtGdiCreateColorSpace(_In_ PLOGCOLORSPACEEXW pLogColorSpace)
LOGCOLORSPACEW lcsColorSpace
CIEXYZTRIPLE lcsEndpoints
CHAR lcsFilename[MAX_PATH]
WCHAR lcsFilename[MAX_PATH]
CIEXYZTRIPLE lcsEndpoints
#define RtlCopyMemory(Destination, Source, Length)
HCOLORSPACE FASTCALL IntCreateColorSpaceW(LPLOGCOLORSPACEW lplcpw, BOOL Ascii)
HCOLORSPACE WINAPI GetColorSpace(HDC hDC)
HBITMAP WINAPI GdiConvertBitmapV5(HBITMAP in_format_BitMap, HBITMAP src_BitMap, INT bpp, INT unuse)
BOOL WINAPI UpdateICMRegKeyW(DWORD a0, LPWSTR a1, LPWSTR a2, UINT a3)
HCOLORSPACE WINAPI CreateColorSpaceA(LPLOGCOLORSPACEA lplcpa)
HCOLORSPACE WINAPI SetColorSpace(HDC hDC, HCOLORSPACE hCS)
BOOL WINAPI UpdateICMRegKeyA(DWORD a0, LPSTR a1, LPSTR a2, UINT a3)
HCOLORSPACE WINAPI CreateColorSpaceW(LPLOGCOLORSPACEW lplcpw)
#define ERROR_INVALID_COLORSPACE
int WINAPI EnumICMProfilesW(_In_ HDC, _In_ ICMENUMPROCW, _In_opt_ LPARAM)
int WINAPI SetICMMode(_In_ HDC, _In_ int)
BOOL WINAPI GetICMProfileA(_In_ HDC hdc, _Inout_ LPDWORD pBufSize, _Out_writes_opt_(*pBufSize) LPSTR pszFilename)
BOOL WINAPI SetICMProfileW(_In_ HDC, _In_ LPWSTR)
int(CALLBACK * ICMENUMPROCW)(LPWSTR, LPARAM)
BOOL WINAPI SetICMProfileA(_In_ HDC, _In_ LPSTR)
struct tagLOGCOLORSPACEW LOGCOLORSPACEW
int(CALLBACK * ICMENUMPROCA)(LPSTR, LPARAM)
BOOL WINAPI GetICMProfileW(_In_ HDC hdc, _Inout_ LPDWORD pBufSize, _Out_writes_opt_(*pBufSize) LPWSTR pszFilename)
int WINAPI EnumICMProfilesA(_In_ HDC, _In_ ICMENUMPROCA, _In_opt_ LPARAM)