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
36a9bc82
Commit
36a9bc82
authored
May 17, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
May 19, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps: Define PSDRV_DEVMODE in unixlib.h.
parent
f848b9f8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
19 deletions
+20
-19
builtin.c
dlls/wineps.drv/builtin.c
+0
-1
font.c
dlls/wineps.drv/font.c
+0
-1
init.c
dlls/wineps.drv/init.c
+0
-1
psdrv.h
dlls/wineps.drv/psdrv.h
+2
-15
unixlib.c
dlls/wineps.drv/unixlib.c
+0
-1
unixlib.h
dlls/wineps.drv/unixlib.h
+18
-0
No files found.
dlls/wineps.drv/builtin.c
View file @
36a9bc82
...
...
@@ -31,7 +31,6 @@
#include "winternl.h"
#include "psdrv.h"
#include "unixlib.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
psdrv
);
...
...
dlls/wineps.drv/font.c
View file @
36a9bc82
...
...
@@ -30,7 +30,6 @@
#include "winternl.h"
#include "psdrv.h"
#include "unixlib.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
psdrv
);
...
...
dlls/wineps.drv/init.c
View file @
36a9bc82
...
...
@@ -31,7 +31,6 @@
#include "psdrv.h"
#include "ddk/winddi.h"
#include "ntf.h"
#include "unixlib.h"
#include "winspool.h"
#include "wine/debug.h"
...
...
dlls/wineps.drv/psdrv.h
View file @
36a9bc82
...
...
@@ -28,6 +28,8 @@
#include "wingdi.h"
#include "winspool.h"
#include "unixlib.h"
#include "wine/gdi_driver.h"
#include "wine/list.h"
...
...
@@ -210,19 +212,6 @@ typedef struct {
DUPLEX
*
DefaultDuplex
;
}
PPD
;
typedef
struct
{
DEVMODEW
dmPublic
;
int
default_resolution
;
int
landscape_orientation
;
int
duplex
;
int
input_slots
;
int
resolutions
;
int
page_sizes
;
int
font_subs
;
int
installed_fonts
;
BYTE
data
[
1
];
}
PSDRV_DEVMODE
;
typedef
struct
{
struct
list
entry
;
...
...
@@ -554,7 +543,6 @@ extern void passthrough_leave(print_ctx *ctx) DECLSPEC_HIDDEN;
setlocale(LC_NUMERIC,tmplocale); \
} while (0)
#ifndef WINE_UNIX_LIB
static
inline
WCHAR
*
strdupW
(
const
WCHAR
*
str
)
{
int
size
;
...
...
@@ -566,6 +554,5 @@ static inline WCHAR *strdupW( const WCHAR *str )
if
(
ret
)
memcpy
(
ret
,
str
,
size
);
return
ret
;
}
#endif
#endif
dlls/wineps.drv/unixlib.c
View file @
36a9bc82
...
...
@@ -32,7 +32,6 @@
#include "winbase.h"
#include "ntf.h"
#include "psdrv.h"
#include "unixlib.h"
#include "ntgdi.h"
#include "ddk/winddi.h"
...
...
dlls/wineps.drv/unixlib.h
View file @
36a9bc82
...
...
@@ -16,6 +16,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __PSDRV_UNIXLIB_H
#define __PSDRV_UNIXLIB_H
#include "ntuser.h"
#include "wine/unixlib.h"
...
...
@@ -71,6 +74,19 @@ struct installed_font
char
name
[
LF_FACESIZE
];
};
typedef
struct
{
DEVMODEW
dmPublic
;
int
default_resolution
;
int
landscape_orientation
;
int
duplex
;
int
input_slots
;
int
resolutions
;
int
page_sizes
;
int
font_subs
;
int
installed_fonts
;
BYTE
data
[
1
];
}
PSDRV_DEVMODE
;
/* Unix calls */
enum
wineps_funcs
{
...
...
@@ -94,3 +110,5 @@ struct open_dc_params
PSDRV_DEVMODE
*
def_devmode
;
HDC
hdc
;
};
#endif
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