ColorProfileGetDisplayList function (icm.h)
Retrieves the list of profiles associated with a given display in the specified scope.
HRESULT ColorProfileGetDisplayList(
WCS_PROFILE_MANAGEMENT_SCOPE scope,
LUID targetAdapterID,
UINT32 sourceID,
LPWSTR **profileList,
PDWORD profileCount
);
scope
Specifies the association as system-wide or the current user.
targetAdapterID
An identifier assigned to the adapter (e.g. GPU) of the target display. See Remarks for more details.
sourceID
An identifier assigned to the source of the display. See Remarks for more details.
profileList
Pointer to a buffer where the profile names are placed, must be freed with LocalFree.
profileCount
Receives the number of profiles names copied into profileList.
S_OK for success, or a failure HRESULT value
See connecting and configuring displays for information on display adapter IDs and source IDs.
Requirement | Value |
---|---|
Minimum supported client | Windows 10 Build 20348 |
Minimum supported server | Windows 10 Build 20348 |
Header | icm.h |