PROFILE
[This is preliminary documentation and subject to change.] 
The PROFILE structure contains information that defines a color profile. See Using Device Profiles with ICM 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.
QuickInfo
  Windows NT: Requires version 5.0 or later.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in icm.h.
See Also
Using Device Profiles with ICM