.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH OpenColorProfileW 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBOpenColorProfileW\fR (MSCMS.@) .SH SYNOPSIS HPROFILE OpenColorProfileW ( PPROFILE \fIprofile\fR, DWORD \fIaccess\fR, DWORD \fIsharing\fR, DWORD \fIcreation\fR ) .SH DESCRIPTION .PP Open a color \fIprofile\fR. .SH PARAMS \fIprofile\fR \fB[In]\fR Pointer to a color \fIprofile\fR structure. .PP \fIaccess\fR \fB[In]\fR Desired \fIaccess\fR. .PP \fIsharing\fR \fB[In]\fR Sharing mode. .PP \fIcreation\fR \fB[In]\fR Creation mode. .PP .SH RETURNS .PP \fBSuccess:\fR Handle to the opened \fIprofile\fR. .PP \fBFailure:\fR \fBNULL\fR. .SH NOTES .PP Values for access: \fBPROFILE_READ\fR or \fBPROFILE_READWRITE\fR. Values for sharing: \fB0\fR (no \fIsharing\fR), \fBFILE_SHARE_READ\fR and/or \fBFILE_SHARE_WRITE\fR. Values for creation: one of \fBCREATE_NEW\fR, \fBCREATE_ALWAYS\fR, \fBOPEN_EXISTING\fR, \fBOPEN_ALWAYS\fR, \fBTRUNCATE_EXISTING\fR. Sharing and \fIcreation\fR flags are ignored for memory based profiles. .SH IMPLEMENTATION .PP Declared in \fB"icm.h"\fR. .PP Implemented in \fB"dlls/mscms/profile.c"\fR. .PP Debug channel \fB"mscms"\fR.