Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

GetColorDirectory Function

The GetColorDirectory function retrieves the path of the Windows COLOR directory on a specified machine.

Syntax

BOOL WINAPI GetColorDirectory(
    PCTSTR pMachineName,
    PTSTR pBuffer,
    PDWORD pdwSize
);

Parameters

pMachineName

Reserved; must be NULL. This parameter is intended to point to the name of the machine on which the profile is to be installed. A NULL pointer indicates the local machine.

pBuffer

Points to the buffer in which the color directory path is to be placed.

pdwSize

Points to a variable containing the size in bytes of the buffer pointed to by pBuffer. On return, the variable contains the size of the buffer actually used or needed.

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

Per-user/LUA support

Color directory is still system wide. This function is executable in LUA context.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Icm.h

Library

Mscms.lib

DLL

Mscms.dll

Unicode and ANSI names

GetColorDirectoryW (Unicode) and GetColorDirectoryA (ANSI)

See Also

Basic Color Management Concepts
Functions

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2010

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.