wine
23 years agoGeneralize the Wine version resource template a bit.
Ove Kaaven [Mon, 16 Apr 2001 18:58:46 +0000 (18:58 +0000)] 
Generalize the Wine version resource template a bit.

23 years agoReplace "System" font by "Helv" in shell32 "About" dialog.
Dmitry Timoshkov [Mon, 16 Apr 2001 18:58:30 +0000 (18:58 +0000)] 
Replace "System" font by "Helv" in shell32 "About" dialog.

23 years agoImplementation of OLE32.IsAccelerator.
Dmitry Timoshkov [Mon, 16 Apr 2001 18:58:09 +0000 (18:58 +0000)] 
Implementation of OLE32.IsAccelerator.

23 years agoReturn STG_E_FILEALREADYEXISTS in ole32.StgOpenStorage if the file is
Dmitry Timoshkov [Mon, 16 Apr 2001 18:57:18 +0000 (18:57 +0000)] 
Return STG_E_FILEALREADYEXISTS in ole32.StgOpenStorage if the file is
not a storage object.

23 years agoMove implementation of CreateDC16 to CreateDCA.
Dmitry Timoshkov [Mon, 16 Apr 2001 18:56:45 +0000 (18:56 +0000)] 
Move implementation of CreateDC16 to CreateDCA.

23 years agoAllocate bitmap objects in the large heap area.
Gavriel State [Mon, 16 Apr 2001 18:56:27 +0000 (18:56 +0000)] 
Allocate bitmap objects in the large heap area.

23 years agoFixed 0 count handling in PSDRV_Text.
Andreas Mohr [Mon, 16 Apr 2001 18:55:48 +0000 (18:55 +0000)] 
Fixed 0 count handling in PSDRV_Text.

23 years agoAdd MS Shell Dlg font to the set of default sans serif fonts.
Dmitry Timoshkov [Mon, 16 Apr 2001 18:55:02 +0000 (18:55 +0000)] 
Add MS Shell Dlg font to the set of default sans serif fonts.

23 years agoFixed MSVCRT_clock return type.
Gerald Pfeifer [Mon, 16 Apr 2001 18:54:31 +0000 (18:54 +0000)] 
Fixed MSVCRT_clock return type.

23 years agoAdded missing <listitem>.
Alexandre Julliard [Fri, 13 Apr 2001 22:47:25 +0000 (22:47 +0000)] 
Added missing <listitem>.

23 years agoRepaired shared PE data sections.
Alexandre Julliard [Fri, 13 Apr 2001 22:38:39 +0000 (22:38 +0000)] 
Repaired shared PE data sections.

23 years agoAdded note on using shell scripts as AeDebug setup, added
Eric Pouech [Fri, 13 Apr 2001 22:35:55 +0000 (22:35 +0000)] 
Added note on using shell scripts as AeDebug setup, added
BreakOnDllLoad variable.

23 years agoA few fixes.
Eric Pouech [Fri, 13 Apr 2001 22:28:35 +0000 (22:28 +0000)] 
A few fixes.

23 years agoFixed opening of some drivers.
Eric Pouech [Fri, 13 Apr 2001 22:28:19 +0000 (22:28 +0000)] 
Fixed opening of some drivers.

23 years agoFixed callback parameters (bogus hWave); added acm conversion for
Eric Pouech [Fri, 13 Apr 2001 22:28:06 +0000 (22:28 +0000)] 
Fixed callback parameters (bogus hWave); added acm conversion for
waveIn.

23 years agoAllow MCI_SET to change waveFormat for recording.
Eric Pouech [Fri, 13 Apr 2001 22:27:11 +0000 (22:27 +0000)] 
Allow MCI_SET to change waveFormat for recording.
Fixed buffer handling on recording end.
Fixed size of recorded data in mmio file.

23 years agoFixed some buffers issue in recording.
Eric Pouech [Fri, 13 Apr 2001 22:26:51 +0000 (22:26 +0000)] 
Fixed some buffers issue in recording.
Zeroed unnecessary second parameter for WIM_DATA notification.

23 years agoEnhanced robustness at startup.
Eric Pouech [Fri, 13 Apr 2001 22:26:23 +0000 (22:26 +0000)] 
Enhanced robustness at startup.

23 years agoPreliminary support for MB_*MODAL styles.
Andreas Mohr [Fri, 13 Apr 2001 22:24:18 +0000 (22:24 +0000)] 
Preliminary support for MB_*MODAL styles.

23 years ago- *don't* MoveWindow() the status bar if CCS_NORESIZE is specified,
Andreas Mohr [Fri, 13 Apr 2001 22:23:35 +0000 (22:23 +0000)] 
- *don't* MoveWindow() the status bar if CCS_NORESIZE is specified,
  and use SetWindowPos instead for one of the MoveWindow()s
- call STATUSBAR_GetInfoPtr *once* like Windows does, not twice (used to be
  in every sub function, too)
- remember hwndParent from create struct to use in at least WM_CREATE and
  WM_SIZE instead of GetParent() like in Windows
- added DefWindowProc call to WM_SIZE like in Windows
- added InvalidateRect, UpdateWindow to WM_CREATE like in Windows
- much more verbose +statusbar output
- rename part_num to nPart for consistency
- added nclm.cbSize to SystemParametersInfoA call
- added FIXME to STATUSBAR_SetParts

23 years agoSet the custom dialog box to the bottom of the Z-order.
Gerard Patel [Fri, 13 Apr 2001 22:23:05 +0000 (22:23 +0000)] 
Set the custom dialog box to the bottom of the Z-order.

23 years ago- Provide lobby provider COM object header file and stub implementation
Peter Hunnisett [Thu, 12 Apr 2001 21:10:54 +0000 (21:10 +0000)] 
- Provide lobby provider COM object header file and stub implementation
- Break out dpl and dp service provider intialization
- Add missing definition of E_PENDING
- Resolve a few fixmes
- Fix includes for dplay.h

23 years agoAdded first/last message filters to MSG_InternalGetMessage to avoid
Alexandre Julliard [Thu, 12 Apr 2001 21:09:03 +0000 (21:09 +0000)] 
Added first/last message filters to MSG_InternalGetMessage to avoid
busy waits.

23 years ago- added stubs for three console functions
Michael Stefaniuc [Thu, 12 Apr 2001 21:07:25 +0000 (21:07 +0000)] 
- added stubs for three console functions
- updated wincon.h

23 years agoSmall typo fix.
James Hatheway [Thu, 12 Apr 2001 21:06:39 +0000 (21:06 +0000)] 
Small typo fix.

23 years agoSetWindowRgn shouldn't activate the window.
James Hatheway [Thu, 12 Apr 2001 21:06:17 +0000 (21:06 +0000)] 
SetWindowRgn shouldn't activate the window.

23 years agoFix the signature of __GetMainArgs and __getmainargs (from msvcrt).
Francois Gouget [Tue, 10 Apr 2001 23:25:40 +0000 (23:25 +0000)] 
Fix the signature of __GetMainArgs and __getmainargs (from msvcrt).

23 years agoInclude the msvcrt headers, remove duplicate definitions.
Francois Gouget [Tue, 10 Apr 2001 23:25:25 +0000 (23:25 +0000)] 
Include the msvcrt headers, remove duplicate definitions.
Fixed the signature of a few functions.
Don't use wcs* functions, use *W (from unicode.h) instead.

23 years agoPrevent multiple definitions caused by MSVCRT headers.
Francois Gouget [Tue, 10 Apr 2001 23:23:31 +0000 (23:23 +0000)] 
Prevent multiple definitions caused by MSVCRT headers.

23 years agoAllow the Makefile.in to define EXTRADEFS and add it to DEFS.
Francois Gouget [Tue, 10 Apr 2001 23:22:22 +0000 (23:22 +0000)] 
Allow the Makefile.in to define EXTRADEFS and add it to DEFS.

23 years agoAdded headers for the msvcrt library.
Francois Gouget [Tue, 10 Apr 2001 23:21:43 +0000 (23:21 +0000)] 
Added headers for the msvcrt library.

23 years agoAdded mappings for WM_CHARTOITEM and WM_MENUCHAR messages.
Alexandre Julliard [Tue, 10 Apr 2001 21:46:27 +0000 (21:46 +0000)] 
Added mappings for WM_CHARTOITEM and WM_MENUCHAR messages.
Removed mapping of 16-bit edit messages in the generic routines.

23 years agoPass the correct string length to RegSetValueExA.
Alexandre Julliard [Tue, 10 Apr 2001 21:31:58 +0000 (21:31 +0000)] 
Pass the correct string length to RegSetValueExA.

23 years agoRegSetValueExA/W: fixed REG_SZ string length handling for Win95.
Alexandre Julliard [Tue, 10 Apr 2001 21:30:24 +0000 (21:30 +0000)] 
RegSetValueExA/W: fixed REG_SZ string length handling for Win95.

23 years agoAdded stub for WSASend.
Peter Hunnisett [Tue, 10 Apr 2001 21:22:34 +0000 (21:22 +0000)] 
Added stub for WSASend.

23 years agoFixed handling of \\Registry prefix.
Alexandre Julliard [Tue, 10 Apr 2001 21:18:17 +0000 (21:18 +0000)] 
Fixed handling of \\Registry prefix.

23 years agoStub for OleLoadPictureEx.
Gerard Patel [Tue, 10 Apr 2001 21:17:04 +0000 (21:17 +0000)] 
Stub for OleLoadPictureEx.

23 years agoFix for small typo.
Michael Stefaniuc [Tue, 10 Apr 2001 21:16:31 +0000 (21:16 +0000)] 
Fix for small typo.

23 years agoAdjust the 'MSVCRT_' prefix to match the msvcrt headers
Francois Gouget [Tue, 10 Apr 2001 21:16:07 +0000 (21:16 +0000)] 
Adjust the 'MSVCRT_' prefix to match the msvcrt headers
Prefix internal methods with 'msvcrt_' instead of 'MSVCRT_', '__MSVCRT_', etc.
Remove '_cdecl', it's unnecessary

23 years agoStore the function pointer in the %prototypes hash instead of the
Alexandre Julliard [Mon, 9 Apr 2001 18:49:14 +0000 (18:49 +0000)] 
Store the function pointer in the %prototypes hash instead of the
function name to avoid looking it up on every call.
Fixed callback thunks to use stdcall calling convention.

23 years agoDisplay thread id instead of %fs in relay trace.
Dmitry Timoshkov [Mon, 9 Apr 2001 18:47:10 +0000 (18:47 +0000)] 
Display thread id instead of %fs in relay trace.

23 years agoFill in StandardName field in struct returned from GetTimeZoneInformation.
James Hatheway [Mon, 9 Apr 2001 18:45:49 +0000 (18:45 +0000)] 
Fill in StandardName field in struct returned from GetTimeZoneInformation.

23 years agoAdded some stubs for functions used by newer rpcrt4 dlls.
Marcus Meissner [Mon, 9 Apr 2001 18:34:49 +0000 (18:34 +0000)] 
Added some stubs for functions used by newer rpcrt4 dlls.

23 years agoGetDeviceCaps: make sure the devCaps field is not NULL before
Francois Gouget [Mon, 9 Apr 2001 18:34:10 +0000 (18:34 +0000)] 
GetDeviceCaps: make sure the devCaps field is not NULL before
dereferencing it.

23 years agoArg 3 of CoGetClassObject is COSERVERINFO*, added some more debug.
Marcus Meissner [Mon, 9 Apr 2001 18:33:49 +0000 (18:33 +0000)] 
Arg 3 of CoGetClassObject is COSERVERINFO*, added some more debug.

23 years agoTranslations for German language.
Marcus Meissner [Mon, 9 Apr 2001 18:33:26 +0000 (18:33 +0000)] 
Translations for German language.

23 years agoAdded GetConvertStg stub.
Marcus Meissner [Mon, 9 Apr 2001 18:33:03 +0000 (18:33 +0000)] 
Added GetConvertStg stub.

23 years agoActually print the guids in DllGetClassObject().
Marcus Meissner [Mon, 9 Apr 2001 18:32:38 +0000 (18:32 +0000)] 
Actually print the guids in DllGetClassObject().

23 years agoAdded uninstall hints.
Andreas Mohr [Mon, 9 Apr 2001 18:32:16 +0000 (18:32 +0000)] 
Added uninstall hints.

23 years agoModify debugger to understand special undocumented "Name Thread"
James Hatheway [Mon, 9 Apr 2001 18:31:47 +0000 (18:31 +0000)] 
Modify debugger to understand special undocumented "Name Thread"
exception from MS VC6.

23 years agoReally do not roll up if selection is being tracked by arrow keys in
Dmitry Timoshkov [Mon, 9 Apr 2001 18:30:25 +0000 (18:30 +0000)] 
Really do not roll up if selection is being tracked by arrow keys in
the dropdown listbox.

23 years agoWhen calling CreateMutex() handle the case when the mutex is already
Rein Klazes [Mon, 9 Apr 2001 18:29:17 +0000 (18:29 +0000)] 
When calling CreateMutex() handle the case when the mutex is already
created in another process.

23 years agoAfter an item text changes, the rectangle width should be
Gerard Patel [Mon, 9 Apr 2001 18:28:47 +0000 (18:28 +0000)] 
After an item text changes, the rectangle width should be
recalculated.

23 years agoDon't use THREAD_IdToTEB in EnumThreadWindows.
Alexandre Julliard [Wed, 4 Apr 2001 18:32:14 +0000 (18:32 +0000)] 
Don't use THREAD_IdToTEB in EnumThreadWindows.

23 years agoMake sure 'used' is set to 0 if no conversions take place.
James Hatheway [Wed, 4 Apr 2001 18:31:13 +0000 (18:31 +0000)] 
Make sure 'used' is set to 0 if no conversions take place.

23 years agoFixed scrolling of listview with a mouse wheel.
Rein Klazes [Wed, 4 Apr 2001 18:25:46 +0000 (18:25 +0000)] 
Fixed scrolling of listview with a mouse wheel.

23 years agoImplement TIME_FORCE24HOURFORMAT and TIME_NOTIMEMARKER flags in
Rein Klazes [Wed, 4 Apr 2001 18:25:25 +0000 (18:25 +0000)] 
Implement TIME_FORCE24HOURFORMAT and TIME_NOTIMEMARKER flags in
OLE_GetFormatA.

23 years agoAdded TASK_GetPtr/TASK_GetCurrent functions to get the TDB for a task
Alexandre Julliard [Wed, 4 Apr 2001 00:21:05 +0000 (00:21 +0000)] 
Added TASK_GetPtr/TASK_GetCurrent functions to get the TDB for a task
handle.

23 years agoUnified 16-bit and 32-bit scheduling a bit more.
Alexandre Julliard [Wed, 4 Apr 2001 00:19:55 +0000 (00:19 +0000)] 
Unified 16-bit and 32-bit scheduling a bit more.

23 years agoDon't call strtok twice if it failed the first time.
Alexandre Julliard [Wed, 4 Apr 2001 00:11:40 +0000 (00:11 +0000)] 
Don't call strtok twice if it failed the first time.

23 years agoMake sure the process socket is non-blocking.
Alexandre Julliard [Wed, 4 Apr 2001 00:11:13 +0000 (00:11 +0000)] 
Make sure the process socket is non-blocking.
Don't fail if nothing ready on recvmsg for a file descriptor.

23 years agoFix member names in NEWTEXTMETRICEX structs.
Huw D M Davies [Wed, 4 Apr 2001 00:09:53 +0000 (00:09 +0000)] 
Fix member names in NEWTEXTMETRICEX structs.

23 years agoErase the in-memory DC for treeview and fixes the rectangle calculation.
Gerard Patel [Wed, 4 Apr 2001 00:09:23 +0000 (00:09 +0000)] 
Erase the in-memory DC for treeview and fixes the rectangle calculation.

23 years agoSet background mode to transparent before calling owner-drawn user
Gerard Patel [Wed, 4 Apr 2001 00:09:05 +0000 (00:09 +0000)] 
Set background mode to transparent before calling owner-drawn user
handling.

23 years agoVarious registry-related PostScript driver enhancements.
Ian Pilcher [Mon, 2 Apr 2001 19:14:41 +0000 (19:14 +0000)] 
Various registry-related PostScript driver enhancements.

23 years agoDo not send the EN_CHANGE notification message until the selection
Rein Klazes [Mon, 2 Apr 2001 19:13:24 +0000 (19:13 +0000)] 
Do not send the EN_CHANGE notification message until the selection
start and end values are filled in.

23 years agoAdded US international keyboard.
Gustavo Noronha Silva (KoV) [Mon, 2 Apr 2001 19:12:58 +0000 (19:12 +0000)] 
Added US international keyboard.

23 years agoAdd value 106 to SystemParametersInfo.
James Juran [Mon, 2 Apr 2001 19:12:22 +0000 (19:12 +0000)] 
Add value 106 to SystemParametersInfo.

23 years agoAdded support for callback functions.
John F Sturtz [Sat, 31 Mar 2001 00:53:15 +0000 (00:53 +0000)] 
Added support for callback functions.

23 years agoDon't try to create file twice in the NULL filename case for
Gerard Patel [Sat, 31 Mar 2001 00:51:54 +0000 (00:51 +0000)] 
Don't try to create file twice in the NULL filename case for
StgCreateDocFile.

23 years agoUpdate format engine to reduce flicker.
Ulrich Czekalla [Sat, 31 Mar 2001 00:51:10 +0000 (00:51 +0000)] 
Update format engine to reduce flicker.

23 years agoAdded support for application-specific configuration for a few options
Alexandre Julliard [Wed, 28 Mar 2001 19:43:38 +0000 (19:43 +0000)] 
Added support for application-specific configuration for a few options
(Desktop, Managed, ScreenDepth and Synchronous).

23 years agoFixed undefined C constructs (val assignment in expressions using it,
Marcus Meissner [Wed, 28 Mar 2001 19:35:57 +0000 (19:35 +0000)] 
Fixed undefined C constructs (val assignment in expressions using it,
postinc operators in macros).

23 years agoDon't load user32 too early on for 16-bit apps, so that app-specific
Alexandre Julliard [Wed, 28 Mar 2001 18:47:05 +0000 (18:47 +0000)] 
Don't load user32 too early on for 16-bit apps, so that app-specific
config can be available while loading it.

23 years agoGet and print class name for right window in WIN_WalkWindows.
Dmitry Timoshkov [Wed, 28 Mar 2001 18:46:08 +0000 (18:46 +0000)] 
Get and print class name for right window in WIN_WalkWindows.

23 years agoAlways load the 32-bit dll containing a given 16-bit builtin.
Alexandre Julliard [Wed, 28 Mar 2001 01:47:28 +0000 (01:47 +0000)] 
Always load the 32-bit dll containing a given 16-bit builtin.
Check the module name in addition to the file name when loading a
16-bit builtin dll.

23 years ago- Always use a double-buffered visual if one is available.
Gavriel State [Wed, 28 Mar 2001 01:45:08 +0000 (01:45 +0000)] 
- Always use a double-buffered visual if one is available.
- Ensure that all colormaps created use the double-buffered visual if
  it exists. This prevents problems where DRI GL implementations fail
  to work unless the colormap visual matches the window visual matches the
  glX visual.
- Get around similar visual issue with the default GL context created for
  apps that don't create their own contexts before trying to use GL functions.

23 years agoFixed command-line example.
Lawson Whitney [Wed, 28 Mar 2001 01:40:30 +0000 (01:40 +0000)] 
Fixed command-line example.

23 years agoRelease 20010326. wine-20010326
Alexandre Julliard [Mon, 26 Mar 2001 20:57:09 +0000 (20:57 +0000)] 
Release 20010326.

23 years agoAdded some additional defaults and samples to [fonts] section.
Dmitry Timoshkov [Mon, 26 Mar 2001 20:32:22 +0000 (20:32 +0000)] 
Added some additional defaults and samples to [fonts] section.

23 years agoCleanup properly on x11drv unloading.
Alexandre Julliard [Fri, 23 Mar 2001 23:45:45 +0000 (23:45 +0000)] 
Cleanup properly on x11drv unloading.
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.

23 years ago- MCI_SAVE should overwrite its destination file.
James Hatheway [Fri, 23 Mar 2001 23:39:28 +0000 (23:39 +0000)] 
- MCI_SAVE should overwrite its destination file.
- widClose() is sometimes failing... MCI (in WAVE_mciRecordCallback)
  shouldn't queue up buffers if it knows we are no longer recording.

23 years agoSmall dll separation fixes.
Alexandre Julliard [Fri, 23 Mar 2001 19:13:23 +0000 (19:13 +0000)] 
Small dll separation fixes.

23 years agoUse TEB static buffer for Unicode conversion.
Alexandre Julliard [Fri, 23 Mar 2001 19:12:01 +0000 (19:12 +0000)] 
Use TEB static buffer for Unicode conversion.

23 years agoAdded handling of .hpp files (another extension for C++ headers).
Francois Gouget [Fri, 23 Mar 2001 19:07:59 +0000 (19:07 +0000)] 
Added handling of .hpp files (another extension for C++ headers).
The wrapper code needs to import dlls too.
All the generated wrapper files were identical, the 'variable'
subsitution was done on the template itself. Oups!

23 years agoConvertVersionInfo32To16: the end of the child list may also be marked
Francois Gouget [Fri, 23 Mar 2001 19:07:35 +0000 (19:07 +0000)] 
ConvertVersionInfo32To16: the end of the child list may also be marked
by a 0-byte child.

23 years agoUse poll() on the client-side during server waits to implement
Michael McCormack [Thu, 22 Mar 2001 20:09:34 +0000 (20:09 +0000)] 
Use poll() on the client-side during server waits to implement
overlapped I/O.

23 years agoUse the new send_fd mechanism for the set_console_fd server request.
Alexandre Julliard [Thu, 22 Mar 2001 19:35:27 +0000 (19:35 +0000)] 
Use the new send_fd mechanism for the set_console_fd server request.

23 years agoAdded needed string.h includes.
Jeff Garzik [Thu, 22 Mar 2001 19:33:57 +0000 (19:33 +0000)] 
Added needed string.h includes.

23 years agoCleaned up assumptions about WS_CHILD flag so that we can allow it to
Alexandre Julliard [Wed, 21 Mar 2001 23:55:36 +0000 (23:55 +0000)] 
Cleaned up assumptions about WS_CHILD flag so that we can allow it to
be changed in SetWindowLong.

23 years agoIncrease debug buffer size up to 1024 bytes.
Dmitry Timoshkov [Wed, 21 Mar 2001 23:54:59 +0000 (23:54 +0000)] 
Increase debug buffer size up to 1024 bytes.

23 years agoAdded first version of the Perl regression testing framework.
Alexandre Julliard [Wed, 21 Mar 2001 21:41:27 +0000 (21:41 +0000)] 
Added first version of the Perl regression testing framework.

23 years agoAdded "*" wildcard entry to DllOverrides to replace DllDefaults
Alexandre Julliard [Wed, 21 Mar 2001 20:33:11 +0000 (20:33 +0000)] 
Added "*" wildcard entry to DllOverrides to replace DllDefaults
section; this way it can also be specified on a per-app basis.
Removed compiled-in defaults for dlls mentioned in the sample config.
Update man page.

23 years agoWarning fixes.
Jeff Garzik [Wed, 21 Mar 2001 20:31:26 +0000 (20:31 +0000)] 
Warning fixes.

23 years agoAdded some inclusions of string.h where necessary.
Jeff Garzik [Wed, 21 Mar 2001 20:30:46 +0000 (20:30 +0000)] 
Added some inclusions of string.h where necessary.

23 years agoDisable DONT_RESOLVE_DLL_REFERENCES for builtin dlls.
Alexandre Julliard [Wed, 21 Mar 2001 03:38:44 +0000 (03:38 +0000)] 
Disable DONT_RESOLVE_DLL_REFERENCES for builtin dlls.

23 years agoAllow loading of built-in dlls with LOAD_LIBRARY_AS_DATAFILE flag set.
Dmitry Timoshkov [Wed, 21 Mar 2001 03:38:03 +0000 (03:38 +0000)] 
Allow loading of built-in dlls with LOAD_LIBRARY_AS_DATAFILE flag set.

23 years agoShow an error if small enough fragment sizes couldn't be set.
Ove Kaaven [Wed, 21 Mar 2001 03:37:33 +0000 (03:37 +0000)] 
Show an error if small enough fragment sizes couldn't be set.
Force a complete close/reopen of the sound device if pause is
requested in DirectSound mode (many drivers require this).

23 years agoRemove obsolete and misleading FIXME.
Ove Kaaven [Wed, 21 Mar 2001 03:37:10 +0000 (03:37 +0000)] 
Remove obsolete and misleading FIXME.

23 years agoImplemented Get/SetDeviceGammaRamp.
Ove Kaaven [Wed, 21 Mar 2001 03:36:53 +0000 (03:36 +0000)] 
Implemented Get/SetDeviceGammaRamp.