Share via


PROFILE

The PROFILE structure contains information that defines a color profile. See Using Device Profiles with WCS for more information.

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

**  Windows NT/2000/XP/Vista:** Included in Windows 2000 and later.
**  Windows 95/98/Me:** Included in Windows 98 and later.
**  Header:** Declared in Icm.h.

See Also

Using Device Profiles with WCS