.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SetSysColorsTemp 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSetSysColorsTemp\fR (USER32.@) .SH SYNOPSIS DWORD_PTR SetSysColorsTemp ( const COLORREF* \fIpPens\fR, const HBRUSH* \fIpBrushes\fR, DWORD_PTR \fIn\fR ) .SH DESCRIPTION .PP \fBUNDOCUMENTED\fR !!. .PP Called by \fBW98SE\fR desk.cpl Control Panel Applet: handle = SetSysColorsTemp(ptr, ptr, nCount); (\fB"set"\fR call) result = SetSysColorsTemp(\fBNULL\fR, \fBNULL\fR, handle); (\fB"restore"\fR call). .PP \fIpPens\fR is an array of \fBCOLORREF\fR values, which seems to be used to indicate the color values to create new pens with. .PP \fIpBrushes\fR is an array of solid brush handles (returned by a previous CreateSolidBrush), which seems to contain the brush handles to set for the system colors. .PP \fIn\fR seems to be used for a) indicating the number of entries to operate on (length of \fIpPens\fR, \fIpBrushes\fR) b) passing the handle that points to the previously used color settings. I couldn't figure out in hell what kind of handle this is on Windows. I just use a heap handle instead. Shouldn't matter anyway. .SH RETURNS .PP heap handle of our own copy of the current syscolors in case of \fB"set"\fR call, i.e. \fIpPens\fR, \fIpBrushes\fR != \fBNULL\fR. \fBTRUE\fR (unconditionally !) in case of \fB"restore"\fR call, i.e. \fIpPens\fR, \fIpBrushes\fR == \fBNULL\fR. \fBFALSE\fR in case of either \fIpPens\fR != \fBNULL\fR and \fIpBrushes\fR == \fBNULL\fR or \fIpPens\fR == \fBNULL\fR and \fIpBrushes\fR != \fBNULL\fR. .PP I'm not sure whether this implementation is 100% correct. [AM] .SH IMPLEMENTATION .PP Not declared in a Wine header. The function is either undocumented, or missing from Wine. .PP Implemented in \fB"dlls/user32/sysparams.c"\fR. .PP Debug channel \fB"system"\fR.