mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
ef702d8999
Tue May 28 19:36:36 1996 Alexandre Julliard <julliard@lrc.epfl.ch> * [controls/combo.c] Destroy the listbox and edit control when destroying the combo. This should prevent crashes on application exit. * [misc/system.c] [if1632/system.spec] Implemented InquireSystem(). * [loader/task.c] [windows/message.c] [windows/queue.c] First attempt at inter-task SendMessage(). Still has a lot of problems. Tue May 28 14:26:04 1996 Peter Bajusz <hyp-x@inf.bme.hu> * [windows/mdi.c] Fixed MDITile with iconic children. Mon May 27 20:28:18 1996 Albrecht Kleine <kleine@ak.sax.de> * [misc/commdlg.c] ChooseFont dialog: - complete rewrite of FontFamilyEnumProc() and FontStyleEnumProc() not real available font types (e.g. "Bold") can not selected - supporting more CF_LIMITSIZE- and CF_...ONLY- flags * [objects/font.c] In FONT_MatchFont perform check if "lfFaceName" is family from X11 only if "lfFaceName" is a windows font family then do a call of FONT_TranslateName() : this results in better font selections in ChooseFont() or applications like charmap.exe or write.exe. Added a ParseFontParms() call if necessary in function FONT_MatchFont(): we need a font name as basis for GetTextFace() even if there isn't one... * [resources/TODO] Inventory of resource translations in sysres_??.rc Fri May 24 16:33:28 1996 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de> * [misc/registry.c] _w95_loadreg: use offset to determine next RGDB position too. Thu May 23 19:35:38 1996 Greg Kreider <kreider@natlab.research.philips.com> * [controls/combo.c] Fixed size of combo, lbox, and button (lb sometimes off by 2 pixels). * [misc/main.c] Result of option "-fixedmap" is to turn flag on. Thu May 23 19:15:41 1996 Ronan Waide <root@waider.ie> * [misc/shell.c] ShellExecute and FindExecutable now both use common code to determine the required executable file.
34 lines
763 B
C
34 lines
763 B
C
/*
|
|
* SYSTEM DLL routines
|
|
*
|
|
* Copyright 1996 Alexandre Julliard
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include "windows.h"
|
|
|
|
|
|
/***********************************************************************
|
|
* InquireSystem (SYSTEM.1)
|
|
*/
|
|
DWORD InquireSystem( WORD code, WORD drive, BOOL enable )
|
|
{
|
|
WORD drivetype;
|
|
|
|
switch(code)
|
|
{
|
|
case 0: /* Get timer resolution */
|
|
return 54925;
|
|
|
|
case 1: /* Get drive type */
|
|
drivetype = GetDriveType( drive );
|
|
return MAKELONG( drivetype, drivetype );
|
|
|
|
case 2: /* Enable one-drive logic */
|
|
fprintf( stderr, "InquireSystem(2): set single-drive %d not supported\n", enable );
|
|
return 0;
|
|
}
|
|
fprintf( stderr, "InquireSystem: unknown code %d\n", code );
|
|
return 0;
|
|
}
|