OpenColorProfileW.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "icm.h".

Implemented in "dlls/mscms/profile.c".

Debug channel "mscms".