Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3458987e
Commit
3458987e
authored
Apr 22, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Apr 22, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added prototypes (stubs) for GDI32.100-104.
parent
3ea18db3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
90 additions
and
2 deletions
+90
-2
driver.c
graphics/driver.c
+90
-2
No files found.
graphics/driver.c
View file @
3458987e
...
@@ -4,12 +4,13 @@
...
@@ -4,12 +4,13 @@
* Copyright 1996 Alexandre Julliard
* Copyright 1996 Alexandre Julliard
*/
*/
#include <string.h>
#include "gdi.h"
#include "gdi.h"
#include "heap.h"
#include "heap.h"
#include "debug.h"
#include "debug.h"
DE
FAULT
_DEBUG_CHANNEL
(
driver
)
DE
CLARE
_DEBUG_CHANNEL
(
driver
)
#include <string.h>
DECLARE_DEBUG_CHANNEL
(
gdi
)
typedef
struct
tagGRAPHICS_DRIVER
typedef
struct
tagGRAPHICS_DRIVER
{
{
...
@@ -95,3 +96,90 @@ BOOL DRIVER_UnregisterDriver( LPCSTR name )
...
@@ -95,3 +96,90 @@ BOOL DRIVER_UnregisterDriver( LPCSTR name )
return
TRUE
;
return
TRUE
;
}
}
}
}
/*****************************************************************************
* GDI_CallDevInstall16 [GDI32.100]
*
* This should thunk to 16-bit and simply call the proc with the given args.
*/
INT
WINAPI
GDI_CallDevInstall16
(
FARPROC16
lpfnDevInstallProc
,
HWND
hWnd
,
LPSTR
lpModelName
,
LPSTR
OldPort
,
LPSTR
NewPort
)
{
FIXME
(
gdi
,
"(%p, %04x, %s, %s, %s)
\n
"
,
lpfnDevInstallProc
,
hWnd
,
lpModelName
,
OldPort
,
NewPort
);
return
-
1
;
}
/*****************************************************************************
* GDI_CallExtDeviceModePropSheet16 [GDI32.101]
*
* This should load the correct driver for lpszDevice and calls this driver's
* ExtDeviceModePropSheet proc.
*
* Note: The driver calls a callback routine for each property sheet page; these
* pages are supposed to be filled into the structure pointed to by lpPropSheet.
* The layout of this structure is:
*
* struct
* {
* DWORD nPages;
* DWORD unknown;
* HPROPSHEETPAGE pages[10];
* };
*/
INT
WINAPI
GDI_CallExtDeviceModePropSheet16
(
HWND
hWnd
,
LPCSTR
lpszDevice
,
LPCSTR
lpszPort
,
LPVOID
lpPropSheet
)
{
FIXME
(
gdi
,
"(%04x, %s, %s, %p)
\n
"
,
hWnd
,
lpszDevice
,
lpszPort
,
lpPropSheet
);
return
-
1
;
}
/*****************************************************************************
* GDI_CallExtDeviceMode16 [GDI32.102]
*
* This should load the correct driver for lpszDevice and calls this driver's
* ExtDeviceMode proc.
*/
INT
WINAPI
GDI_CallExtDeviceMode16
(
HWND
hwnd
,
LPDEVMODE16
lpdmOutput
,
LPSTR
lpszDevice
,
LPSTR
lpszPort
,
LPDEVMODE16
lpdmInput
,
LPSTR
lpszProfile
,
DWORD
fwMode
)
{
FIXME
(
gdi
,
"(%04x, %p, %s, %s, %p, %s, %ld)
\n
"
,
hwnd
,
lpdmOutput
,
lpszDevice
,
lpszPort
,
lpdmInput
,
lpszProfile
,
fwMode
);
return
-
1
;
}
/****************************************************************************
* GDI_CallAdvancedSetupDialog16 [GDI32.103]
*
* This should load the correct driver for lpszDevice and calls this driver's
* AdvancedSetupDialog proc.
*/
INT
WINAPI
GDI_CallAdvancedSetupDialog16
(
HWND
hwnd
,
LPSTR
lpszDevice
,
LPDEVMODE16
devin
,
LPDEVMODE16
devout
)
{
FIXME
(
gdi
,
"(%04x, %s, %p, %p)
\n
"
,
hwnd
,
lpszDevice
,
devin
,
devout
);
return
-
1
;
}
/*****************************************************************************
* GDI_CallDeviceCapabilities16 [GDI32.104]
*
* This should load the correct driver for lpszDevice and calls this driver's
* DeviceCapabilities proc.
*/
DWORD
WINAPI
GDI_CallDeviceCapabilities16
(
LPSTR
lpszDevice
,
LPSTR
lpszPort
,
DWORD
fwCapability
,
LPSTR
lpszOutput
,
LPDEVMODE16
lpdm
)
{
FIXME
(
gdi
,
"(%s, %s, %ld, %p, %p)
\n
"
,
lpszDevice
,
lpszPort
,
fwCapability
,
lpszOutput
,
lpdm
);
return
-
1L
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment