OpenColorProfileW3w
Usage
HPROFILE OpenColorProfileW
(
PPROFILE profile,
DWORD access,
DWORD sharing,
DWORD creation
)
Overview
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 "icm.h".
Implemented in "dlls/mscms/profile.c".
Debug channel "mscms".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.