Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CMGetNamedProfileInfo function

The CMGetNamedProfileInfo function retrieves information about the specified named color profile.

Syntax


BOOL WINAPI CMGetNamedProfileInfo(
   HPROFILE            hProfile,
   PNAMED_PROFILE_INFO pNamedProfileInfo
);

Parameters

hProfile

The handle to the profile from which the information will be retrieved.

pNamedProfileInfo

A pointer to a NAMED_PROFILE_INFO structure.

Return value

If this function succeeds, the return value is TRUE.

If this function fails, the return value is FALSE. When this occurs, the CMM should call SetLastError to set the last error to a valid error value defined in Winerror.h.

Remarks

This function is required in the default CMM. It is optional for all other CMMs.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h

Library

Gdi32.lib

DLL

Icm32.dll

See also

Basic Color Management Concepts
Functions
NAMED_PROFILE_INFO

 

 

Show: