Export (0) Print
Expand All
Expand Minimize

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

Minimum supported server

Windows Server 2008

Header

Icm.h

Library

Mscms.lib

DLL

Mscms.dll

See Also

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

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2010

Community Additions

ADD
Show:
© 2014 Microsoft