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
ac2a5097
Commit
ac2a5097
authored
Oct 01, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps.drv: Make wineps16.drv into a stand-alone 16-bit module.
parent
2bdcee13
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
113 additions
and
63 deletions
+113
-63
.gitignore
.gitignore
+0
-1
configure
configure
+9
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/Makefile.in
+0
-4
Makefile.in
dlls/wineps.drv/Makefile.in
+0
-2
driver.c
dlls/wineps.drv/driver.c
+0
-51
psdrv.h
dlls/wineps.drv/psdrv.h
+0
-5
Makefile.in
dlls/wineps16.drv16/Makefile.in
+14
-0
driver.c
dlls/wineps16.drv16/driver.c
+89
-0
wineps16.drv16.spec
dlls/wineps16.drv16/wineps16.drv16.spec
+0
-0
No files found.
.gitignore
View file @
ac2a5097
...
@@ -120,7 +120,6 @@ dlls/shdocvw/shdocvw_v1.tlb
...
@@ -120,7 +120,6 @@ dlls/shdocvw/shdocvw_v1.tlb
dlls/stdole2.tlb/std_ole_v2.tlb
dlls/stdole2.tlb/std_ole_v2.tlb
dlls/stdole32.tlb/std_ole_v1.tlb
dlls/stdole32.tlb/std_ole_v1.tlb
dlls/user.exe16
dlls/user.exe16
dlls/wineps16.drv16
dlls/wprocs.dll16
dlls/wprocs.dll16
include/activaut.h
include/activaut.h
include/activdbg.h
include/activdbg.h
...
...
configure
View file @
ac2a5097
...
@@ -17108,6 +17108,14 @@ dlls/wineps.drv/Makefile: dlls/wineps.drv/Makefile.in dlls/Makedll.rules"
...
@@ -17108,6 +17108,14 @@ dlls/wineps.drv/Makefile: dlls/wineps.drv/Makefile.in dlls/Makedll.rules"
ac_config_files
=
"
$ac_config_files
dlls/wineps.drv/Makefile"
ac_config_files
=
"
$ac_config_files
dlls/wineps.drv/Makefile"
ALL_MAKEFILES
=
"
$ALL_MAKEFILES
\\
ALL_MAKEFILES
=
"
$ALL_MAKEFILES
\\
dlls/wineps16.drv16/Makefile"
test
"x
$enable_win16
"
!=
xno
&&
ALL_DLL_DIRS
=
"
$ALL_DLL_DIRS
\\
wineps16.drv16"
ALL_MAKEFILE_DEPENDS
=
"
$ALL_MAKEFILE_DEPENDS
dlls/wineps16.drv16/Makefile: dlls/wineps16.drv16/Makefile.in dlls/Makedll.rules"
ac_config_files
=
"
$ac_config_files
dlls/wineps16.drv16/Makefile"
ALL_MAKEFILES
=
"
$ALL_MAKEFILES
\\
dlls/winequartz.drv/Makefile"
dlls/winequartz.drv/Makefile"
test
"x
$enable_winequartz_drv
"
!=
xno
&&
ALL_DLL_DIRS
=
"
$ALL_DLL_DIRS
\\
test
"x
$enable_winequartz_drv
"
!=
xno
&&
ALL_DLL_DIRS
=
"
$ALL_DLL_DIRS
\\
winequartz.drv"
winequartz.drv"
...
@@ -19143,6 +19151,7 @@ do
...
@@ -19143,6 +19151,7 @@ do
"dlls/winenas.drv/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/winenas.drv/Makefile" ;;
"dlls/winenas.drv/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/winenas.drv/Makefile" ;;
"dlls/wineoss.drv/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/wineoss.drv/Makefile" ;;
"dlls/wineoss.drv/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/wineoss.drv/Makefile" ;;
"dlls/wineps.drv/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/wineps.drv/Makefile" ;;
"dlls/wineps.drv/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/wineps.drv/Makefile" ;;
"dlls/wineps16.drv16/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/wineps16.drv16/Makefile" ;;
"dlls/winequartz.drv/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/winequartz.drv/Makefile" ;;
"dlls/winequartz.drv/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/winequartz.drv/Makefile" ;;
"dlls/winex11.drv/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/winex11.drv/Makefile" ;;
"dlls/winex11.drv/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/winex11.drv/Makefile" ;;
"dlls/wing.dll16/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/wing.dll16/Makefile" ;;
"dlls/wing.dll16/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/wing.dll16/Makefile" ;;
...
...
configure.ac
View file @
ac2a5097
...
@@ -2501,6 +2501,7 @@ WINE_CONFIG_MAKEFILE([dlls/winemp3.acm/Makefile],[dlls/Makedll.rules],[dlls],[AL
...
@@ -2501,6 +2501,7 @@ WINE_CONFIG_MAKEFILE([dlls/winemp3.acm/Makefile],[dlls/Makedll.rules],[dlls],[AL
WINE_CONFIG_MAKEFILE([dlls/winenas.drv/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/winenas.drv/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/wineoss.drv/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/wineoss.drv/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/wineps.drv/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/wineps.drv/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/wineps16.drv16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
WINE_CONFIG_MAKEFILE([dlls/winequartz.drv/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/winequartz.drv/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/winex11.drv/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/winex11.drv/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/wing.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
WINE_CONFIG_MAKEFILE([dlls/wing.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
...
...
dlls/Makefile.in
View file @
ac2a5097
...
@@ -24,7 +24,6 @@ WIN16_FILES = \
...
@@ -24,7 +24,6 @@ WIN16_FILES = \
mmsystem.dll16
\
mmsystem.dll16
\
setupx.dll16
\
setupx.dll16
\
user.exe16
\
user.exe16
\
wineps16.drv16
\
wprocs.dll16
wprocs.dll16
@MAKE_RULES@
@MAKE_RULES@
...
@@ -53,9 +52,6 @@ user.exe16:
...
@@ -53,9 +52,6 @@ user.exe16:
wprocs.dll16
:
wprocs.dll16
:
echo
"winedos.dll"
>
$@
echo
"winedos.dll"
>
$@
wineps16.drv16
:
echo
"wineps.drv"
>
$@
mmsystem.dll16
:
mmsystem.dll16
:
echo
"winmm.dll"
>
$@
echo
"winmm.dll"
>
$@
...
...
dlls/wineps.drv/Makefile.in
View file @
ac2a5097
...
@@ -6,8 +6,6 @@ MODULE = wineps.drv
...
@@ -6,8 +6,6 @@ MODULE = wineps.drv
IMPORTS
=
user32 gdi32 winspool advapi32 kernel32
IMPORTS
=
user32 gdi32 winspool advapi32 kernel32
EXTRAINCL
=
@FREETYPEINCL@ @CUPSINCL@
EXTRAINCL
=
@FREETYPEINCL@ @CUPSINCL@
SPEC_SRCS16
=
wineps16.drv.spec
C_SRCS
=
\
C_SRCS
=
\
afm.c
\
afm.c
\
bitblt.c
\
bitblt.c
\
...
...
dlls/wineps.drv/driver.c
View file @
ac2a5097
...
@@ -176,19 +176,6 @@ void PSDRV_MergeDevmodes(PSDRV_DEVMODEA *dm1, PSDRV_DEVMODEA *dm2,
...
@@ -176,19 +176,6 @@ void PSDRV_MergeDevmodes(PSDRV_DEVMODEA *dm1, PSDRV_DEVMODEA *dm2,
}
}
/**************************************************************
* AdvancedSetupDialog [WINEPS16.93]
*
*/
WORD
WINAPI
PSDRV_AdvancedSetupDialog16
(
HWND16
hwnd
,
HANDLE16
hDriver
,
LPDEVMODEA
devin
,
LPDEVMODEA
devout
)
{
TRACE
(
"hwnd = %04x, hDriver = %04x devin=%p devout=%p
\n
"
,
hwnd
,
hDriver
,
devin
,
devout
);
return
IDCANCEL
;
}
/****************************************************************
/****************************************************************
* PSDRV_PaperDlgProc
* PSDRV_PaperDlgProc
*
*
...
@@ -406,21 +393,6 @@ INT CDECL PSDRV_ExtDeviceMode(LPSTR lpszDriver, HWND hwnd, LPDEVMODEA lpdmOutput
...
@@ -406,21 +393,6 @@ INT CDECL PSDRV_ExtDeviceMode(LPSTR lpszDriver, HWND hwnd, LPDEVMODEA lpdmOutput
}
}
return
IDOK
;
return
IDOK
;
}
}
/***************************************************************
* ExtDeviceMode [WINEPS16.90]
*
*/
INT16
WINAPI
PSDRV_ExtDeviceMode16
(
HWND16
hwnd
,
HANDLE16
hDriver
,
LPDEVMODEA
lpdmOutput
,
LPSTR
lpszDevice
,
LPSTR
lpszPort
,
LPDEVMODEA
lpdmInput
,
LPSTR
lpszProfile
,
WORD
fwMode
)
{
return
PSDRV_ExtDeviceMode
(
NULL
,
HWND_32
(
hwnd
),
lpdmOutput
,
lpszDevice
,
lpszPort
,
lpdmInput
,
lpszProfile
,
(
DWORD
)
fwMode
);
}
/***********************************************************************
/***********************************************************************
* PSDRV_DeviceCapabilities
* PSDRV_DeviceCapabilities
*
*
...
@@ -722,29 +694,6 @@ DWORD CDECL PSDRV_DeviceCapabilities(LPSTR lpszDriver, LPCSTR lpszDevice, LPCSTR
...
@@ -722,29 +694,6 @@ DWORD CDECL PSDRV_DeviceCapabilities(LPSTR lpszDriver, LPCSTR lpszDevice, LPCSTR
return
-
1
;
return
-
1
;
}
}
/**************************************************************
* DeviceCapabilities [WINEPS16.91]
*/
DWORD
WINAPI
PSDRV_DeviceCapabilities16
(
LPCSTR
lpszDevice
,
LPCSTR
lpszPort
,
WORD
fwCapability
,
LPSTR
lpszOutput
,
LPDEVMODEA
lpdm
)
{
return
PSDRV_DeviceCapabilities
(
NULL
,
lpszDevice
,
lpszPort
,
fwCapability
,
lpszOutput
,
lpdm
);
}
/***************************************************************
* DeviceMode [WINEPS16.13]
*
*/
void
WINAPI
PSDRV_DeviceMode16
(
HWND16
hwnd
,
HANDLE16
hDriver
,
LPSTR
lpszDevice
,
LPSTR
lpszPort
)
{
PSDRV_ExtDeviceMode16
(
hwnd
,
hDriver
,
NULL
,
lpszDevice
,
lpszPort
,
NULL
,
NULL
,
DM_PROMPT
);
return
;
}
#if 0
#if 0
typedef struct {
typedef struct {
DWORD nPages;
DWORD nPages;
...
...
dlls/wineps.drv/psdrv.h
View file @
ac2a5097
...
@@ -397,11 +397,6 @@ extern const UNICODEGLYPH PSDRV_AGLbyName[]; /* duplicates omitted */
...
@@ -397,11 +397,6 @@ extern const UNICODEGLYPH PSDRV_AGLbyName[]; /* duplicates omitted */
extern
const
INT
PSDRV_AGLbyUVSize
;
/* sorted by UV - */
extern
const
INT
PSDRV_AGLbyUVSize
;
/* sorted by UV - */
extern
const
UNICODEGLYPH
PSDRV_AGLbyUV
[];
/* duplicates included */
extern
const
UNICODEGLYPH
PSDRV_AGLbyUV
[];
/* duplicates included */
extern
INT16
WINAPI
PSDRV_ExtDeviceMode16
(
HWND16
hwnd
,
HANDLE16
hDriver
,
LPDEVMODEA
lpdmOutput
,
LPSTR
lpszDevice
,
LPSTR
lpszPort
,
LPDEVMODEA
lpdmInput
,
LPSTR
lpszProfile
,
WORD
fwMode
);
extern
HINSTANCE
PSDRV_hInstance
;
extern
HINSTANCE
PSDRV_hInstance
;
extern
HANDLE
PSDRV_Heap
;
extern
HANDLE
PSDRV_Heap
;
extern
char
*
PSDRV_ANSIVector
[
256
];
extern
char
*
PSDRV_ANSIVector
[
256
];
...
...
dlls/wineps16.drv16/Makefile.in
0 → 100644
View file @
ac2a5097
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
wineps16.drv16
IMPORTS
=
kernel32
EXTRADLLFLAGS
=
-Wb
,--subsystem,win16
C_SRCS
=
driver.c
@MAKE_DLL_RULES@
@DEPENDENCIES@
# everything below this line is overwritten by make depend
dlls/wineps16.drv16/driver.c
0 → 100644
View file @
ac2a5097
/*
* Exported functions from the PostScript driver.
*
* Copyright 1998 Huw D M Davies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "wine/winuser16.h"
#include "wownt32.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
psdrv
);
static
HMODULE
wineps
;
static
INT
(
CDECL
*
pExtDeviceMode
)(
LPSTR
,
HWND
,
LPDEVMODEA
,
LPSTR
,
LPSTR
,
LPDEVMODEA
,
LPSTR
,
DWORD
);
static
DWORD
(
CDECL
*
pDeviceCapabilities
)(
LPSTR
,
LPCSTR
,
LPCSTR
,
WORD
,
LPSTR
,
LPDEVMODEA
);
static
HMODULE
load_wineps
(
void
)
{
if
(
!
wineps
)
{
wineps
=
LoadLibraryA
(
"wineps.drv"
);
pExtDeviceMode
=
(
void
*
)
GetProcAddress
(
wineps
,
"ExtDeviceMode"
);
pDeviceCapabilities
=
(
void
*
)
GetProcAddress
(
wineps
,
"DeviceCapabilities"
);
}
return
wineps
;
}
/**************************************************************
* AdvancedSetupDialog [WINEPS16.93]
*/
WORD
WINAPI
PSDRV_AdvancedSetupDialog16
(
HWND16
hwnd
,
HANDLE16
hDriver
,
LPDEVMODEA
devin
,
LPDEVMODEA
devout
)
{
TRACE
(
"hwnd = %04x, hDriver = %04x devin=%p devout=%p
\n
"
,
hwnd
,
hDriver
,
devin
,
devout
);
return
IDCANCEL
;
}
/***************************************************************
* ExtDeviceMode [WINEPS16.90]
*/
INT16
WINAPI
PSDRV_ExtDeviceMode16
(
HWND16
hwnd
,
HANDLE16
hDriver
,
LPDEVMODEA
lpdmOutput
,
LPSTR
lpszDevice
,
LPSTR
lpszPort
,
LPDEVMODEA
lpdmInput
,
LPSTR
lpszProfile
,
WORD
fwMode
)
{
if
(
!
load_wineps
()
||
!
pExtDeviceMode
)
return
-
1
;
return
pExtDeviceMode
(
NULL
,
HWND_32
(
hwnd
),
lpdmOutput
,
lpszDevice
,
lpszPort
,
lpdmInput
,
lpszProfile
,
fwMode
);
}
/**************************************************************
* DeviceCapabilities [WINEPS16.91]
*/
DWORD
WINAPI
PSDRV_DeviceCapabilities16
(
LPCSTR
lpszDevice
,
LPCSTR
lpszPort
,
WORD
fwCapability
,
LPSTR
lpszOutput
,
LPDEVMODEA
lpdm
)
{
if
(
!
load_wineps
()
||
!
pDeviceCapabilities
)
return
0
;
return
pDeviceCapabilities
(
NULL
,
lpszDevice
,
lpszPort
,
fwCapability
,
lpszOutput
,
lpdm
);
}
/***************************************************************
* DeviceMode [WINEPS16.13]
*
*/
void
WINAPI
PSDRV_DeviceMode16
(
HWND16
hwnd
,
HANDLE16
hDriver
,
LPSTR
lpszDevice
,
LPSTR
lpszPort
)
{
PSDRV_ExtDeviceMode16
(
hwnd
,
hDriver
,
NULL
,
lpszDevice
,
lpszPort
,
NULL
,
NULL
,
DM_PROMPT
);
}
dlls/wineps
.drv/wineps16.drv
.spec
→
dlls/wineps
16.drv16/wineps16.drv16
.spec
View file @
ac2a5097
File moved
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