source: trunk/src/gdi32/driver.c@ 5087

Last change on this file since 5087 was 3076, checked in by sandervl, 25 years ago

Added stubs

File size: 3.4 KB
Line 
1/* $Id: driver.c,v 1.1 2000-03-10 16:13:44 sandervl Exp $ */
2
3/*
4 * Graphics driver management functions
5 *
6 * Copyright 1996 Alexandre Julliard
7 *
8 * Project Odin Software License can be found in LICENSE.TXT
9 */
10#include <windows.h>
11#include <misc.h>
12
13/*****************************************************************************
14 * GDI_CallDevInstall16 [GDI32.100]
15 *
16 * This should thunk to 16-bit and simply call the proc with the given args.
17 */
18INT WINAPI GDI_CallDevInstall16( FARPROC16 lpfnDevInstallProc, HWND hWnd,
19 LPSTR lpModelName, LPSTR OldPort, LPSTR NewPort )
20{
21 dprintf(("STUB: GDI_CallDevInstall16: (%p, %04x, %s, %s, %s)\n",
22 lpfnDevInstallProc, hWnd, lpModelName, OldPort, NewPort));
23 return -1;
24}
25
26/*****************************************************************************
27 * GDI_CallExtDeviceModePropSheet16 [GDI32.101]
28 *
29 * This should load the correct driver for lpszDevice and calls this driver's
30 * ExtDeviceModePropSheet proc.
31 *
32 * Note: The driver calls a callback routine for each property sheet page; these
33 * pages are supposed to be filled into the structure pointed to by lpPropSheet.
34 * The layout of this structure is:
35 *
36 * struct
37 * {
38 * DWORD nPages;
39 * DWORD unknown;
40 * HPROPSHEETPAGE pages[10];
41 * };
42 */
43INT WINAPI GDI_CallExtDeviceModePropSheet16( HWND hWnd, LPCSTR lpszDevice,
44 LPCSTR lpszPort, LPVOID lpPropSheet )
45{
46 dprintf(("STUB: GDI_CallExtDeviceModePropSheet16 (%04x, %s, %s, %p)\n",
47 hWnd, lpszDevice, lpszPort, lpPropSheet ));
48 return -1;
49}
50
51/*****************************************************************************
52 * GDI_CallExtDeviceMode16 [GDI32.102]
53 *
54 * This should load the correct driver for lpszDevice and calls this driver's
55 * ExtDeviceMode proc.
56 */
57INT WINAPI GDI_CallExtDeviceMode16( HWND hwnd,
58 LPDEVMODEA lpdmOutput, LPSTR lpszDevice,
59 LPSTR lpszPort, LPDEVMODEA lpdmInput,
60 LPSTR lpszProfile, DWORD fwMode )
61{
62 dprintf(("STUB: GDI_CallExtDeviceMode16(%04x, %p, %s, %s, %p, %s, %ld)\n",
63 hwnd, lpdmOutput, lpszDevice, lpszPort,
64 lpdmInput, lpszProfile, fwMode ));
65 return -1;
66}
67
68/****************************************************************************
69 * GDI_CallAdvancedSetupDialog16 [GDI32.103]
70 *
71 * This should load the correct driver for lpszDevice and calls this driver's
72 * AdvancedSetupDialog proc.
73 */
74INT WINAPI GDI_CallAdvancedSetupDialog16( HWND hwnd, LPSTR lpszDevice,
75 LPDEVMODEA devin, LPDEVMODEA devout )
76{
77 dprintf(("STUB: GDI_CallAdvancedSetupDialog16: (%04x, %s, %p, %p)\n",
78 hwnd, lpszDevice, devin, devout ));
79 return -1;
80}
81
82/*****************************************************************************
83 * GDI_CallDeviceCapabilities16 [GDI32.104]
84 *
85 * This should load the correct driver for lpszDevice and calls this driver's
86 * DeviceCapabilities proc.
87 */
88DWORD WINAPI GDI_CallDeviceCapabilities16( LPCSTR lpszDevice, LPCSTR lpszPort,
89 WORD fwCapability, LPSTR lpszOutput,
90 LPDEVMODEA lpdm )
91{
92 dprintf(("STUB: GDI_CallDeviceCapabilities16(%s, %s, %d, %p, %p)\n",
93 lpszDevice, lpszPort, fwCapability, lpszOutput, lpdm ));
94 return -1;
95}
Note: See TracBrowser for help on using the repository browser.