Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
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.

WcsGetUsePerUserProfiles function

Determines whether the user chose to use a per-user profile association list for the specified device.

Syntax


BOOL WINAPI WcsGetUsePerUserProfiles(
  _In_   LPCWSTR pDeviceName,
  _In_   DWORD dwDeviceClass,
  _Out_  BOOL *pUsePerUserProfiles
);

Parameters

pDeviceName [in]

A pointer to a string containing the user-friendly name of the device.

dwDeviceClass [in]

A flag value specifying the class of the device. This parameter must take one of the following values:

CLASS_MONITORSpecifies a display device.
CLASS_PRINTERSpecifies a printer.
CLASS_SCANNERSpecifies an image-capture device.

 

pUsePerUserProfiles [out]

A pointer to a location to receive a Boolean value that is TRUE if the user chose to use a per-user profile association list for the specified device; otherwise FALSE.

Return value

If this function succeeds, the return value is TRUE.

If this function fails, the return value is FALSE. For extended error information, call GetLastError.

Remarks

This function fails if pDeviceName points to a device that is not of the class specified by dwDeviceClass.

This function is executable in Least-Privileged User Account (LUA) context.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Icm.h

Library

Mscms.lib

DLL

Mscms.dll

See also

Basic Color Management Concepts
Windows Color System Schemas and Algorithms
Functions
WcsSetUsePerUserProfiles

 

 

Community Additions

Show:
© 2015 Microsoft