Scroll to navigation

OpenColorProfileW(3w) Wine API OpenColorProfileW(3w)

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 "icm.h".
Implemented in "dlls/mscms/profile.c".
Debug channel "mscms".
Oct 2012 Wine API