OpenColorProfileW(3w)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.