PROFILE structure (icm.h)

Contains information that defines a color profile. See Using device profiles with WCS for more information.

Syntax

typedef struct tagPROFILE {
  DWORD dwType;
  PVOID pProfileData;
  DWORD cbDataSize;
} PROFILE;

Members

dwType

Must be set to one of the following values.

Value Meaning
PROFILE_FILENAME Indicates that the pProfileData member contains a null-terminated string that holds the name of a device profile file.
PROFILE_MEMBUFFER Indicates that the pProfileData member contains a pointer to a device profile in a memory buffer.

pProfileData

The contents of this member is indicated by the dwTYPE member. It will either be a pointer to a null-terminated string containing the file name of the device profile, or it will be a pointer to a buffer in memory containing the device profile data.

cbDataSize

The size in bytes of the data buffer pointed to by the pProfileData member.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header icm.h

See also