Release 960528
[wine/gsoc-2012-control.git] / misc / system.c
blob2b1717816f29e90da966a1eeec0109983a69b29b
1 /*
2 * SYSTEM DLL routines
4 * Copyright 1996 Alexandre Julliard
5 */
7 #include <stdio.h>
8 #include "windows.h"
11 /***********************************************************************
12 * InquireSystem (SYSTEM.1)
14 DWORD InquireSystem( WORD code, WORD drive, BOOL enable )
16 WORD drivetype;
18 switch(code)
20 case 0: /* Get timer resolution */
21 return 54925;
23 case 1: /* Get drive type */
24 drivetype = GetDriveType( drive );
25 return MAKELONG( drivetype, drivetype );
27 case 2: /* Enable one-drive logic */
28 fprintf( stderr, "InquireSystem(2): set single-drive %d not supported\n", enable );
29 return 0;
31 fprintf( stderr, "InquireSystem: unknown code %d\n", code );
32 return 0;