NAME

OpenColorProfileW  (MSCMS.@)

SYNOPSIS

 HPROFILE OpenColorProfileW
 (
  PPROFILE profile,
  DWORD    access,
  DWORD    sharing,
  DWORD    creation
 )

DESCRIPTION

Open a color profile.

PARAMS

profile [In] Pointer to a color profile structure.
access [In] Desired access.
sharing [In] Sharing mode.
creation [In] Creation mode.

RETURNS

Success: Handle to the opened profile.

Failure: NULL.

NOTES

Values for access: PROFILE_READ or PROFILE_READWRITE. Values for sharing: 0 (no sharing), FILE_SHARE_READ and/or FILE_SHARE_WRITE. Values for creation: one of CREATE_NEW, CREATE_ALWAYS, OPEN_EXISTING, OPEN_ALWAYS, TRUNCATE_EXISTING. Sharing and creation flags are ignored for memory based profiles.

IMPLEMENTATION

Declared in "include/icm.h". gitlab.winehq.org/wine/wine/blob/master/include/icm.h

Implemented in "dlls/mscms/profile.c". gitlab.winehq.org/wine/wine/blob/master/dlls/mscms/profile.c

Debug channel "mscms".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.