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
5a50273f
Commit
5a50273f
authored
Dec 11, 1998
by
Huw D M Davies
Committed by
Alexandre Julliard
Dec 11, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement AbortDoc16, move AbortDoc32 and StartDoc32W to
misc/printdrv.c and fix a few compile warnings.
parent
7a6228d1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
26 deletions
+37
-26
painting.c
graphics/painting.c
+0
-20
windows.h
include/windows.h
+3
-0
printdrv.c
misc/printdrv.c
+33
-5
enhmetafile.c
objects/enhmetafile.c
+1
-1
No files found.
graphics/painting.c
View file @
5a50273f
...
@@ -1182,17 +1182,6 @@ BOOL32 WINAPI PolyBezierTo32( HDC32 hdc, const POINT32* lppt, DWORD cPoints )
...
@@ -1182,17 +1182,6 @@ BOOL32 WINAPI PolyBezierTo32( HDC32 hdc, const POINT32* lppt, DWORD cPoints )
}
}
/*************************************************************************
* StartDoc32W [GDI32.348]
*
*/
INT32
WINAPI
StartDoc32W
(
HDC32
hdc
,
const
DOCINFO32W
*
doc
)
{
FIXME
(
gdi
,
"stub
\n
"
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
/* failure*/
}
/******************************************************************************
/******************************************************************************
* PolylineTo32 [GDI32.277]
* PolylineTo32 [GDI32.277]
*/
*/
...
@@ -1201,12 +1190,3 @@ BOOL32 WINAPI PolylineTo32(HDC32 hdc, const POINT32 *lppt, DWORD cCount)
...
@@ -1201,12 +1190,3 @@ BOOL32 WINAPI PolylineTo32(HDC32 hdc, const POINT32 *lppt, DWORD cCount)
FIXME
(
gdi
,
"(%d,%p,%ld): stub
\n
"
,
hdc
,
lppt
,
cCount
);
FIXME
(
gdi
,
"(%d,%p,%ld): stub
\n
"
,
hdc
,
lppt
,
cCount
);
return
1
;
return
1
;
}
}
/******************************************************************************
* AbortDoc32 [GDI32.0]
*/
INT32
WINAPI
AbortDoc32
(
HDC32
hdc
)
{
FIXME
(
gdi
,
"(%d): stub
\n
"
,
hdc
);
return
1
;
}
include/windows.h
View file @
5a50273f
...
@@ -7252,6 +7252,9 @@ VOID WINAPI WaitMessage(VOID);
...
@@ -7252,6 +7252,9 @@ VOID WINAPI WaitMessage(VOID);
/* Declarations for functions that change between Win16 and Win32 */
/* Declarations for functions that change between Win16 and Win32 */
INT16
WINAPI
AbortDoc16
(
HDC16
);
INT32
WINAPI
AbortDoc32
(
HDC32
);
#define AbortDoc WINELIB_NAME(AbortDoc)
BOOL16
WINAPI
AbortPath16
(
HDC16
);
BOOL16
WINAPI
AbortPath16
(
HDC16
);
BOOL32
WINAPI
AbortPath32
(
HDC32
);
BOOL32
WINAPI
AbortPath32
(
HDC32
);
#define AbortPath WINELIB_NAME(AbortPath)
#define AbortPath WINELIB_NAME(AbortPath)
...
...
misc/printdrv.c
View file @
5a50273f
...
@@ -51,6 +51,16 @@ INT32 WINAPI StartDoc32A(HDC32 hdc ,const DOCINFO32A* doc)
...
@@ -51,6 +51,16 @@ INT32 WINAPI StartDoc32A(HDC32 hdc ,const DOCINFO32A* doc)
return
0
;
/* failure*/
return
0
;
/* failure*/
}
}
/*************************************************************************
* StartDoc32W [GDI32.348]
*
*/
INT32
WINAPI
StartDoc32W
(
HDC32
hdc
,
const
DOCINFO32W
*
doc
)
{
FIXME
(
gdi
,
"stub
\n
"
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
/* failure*/
}
/******************************************************************
/******************************************************************
* StartPage32 [GDI32.349]
* StartPage32 [GDI32.349]
*
*
...
@@ -93,6 +103,23 @@ INT32 WINAPI EndDoc32(HDC32 hdc)
...
@@ -93,6 +103,23 @@ INT32 WINAPI EndDoc32(HDC32 hdc)
return
0
;
/* failure*/
return
0
;
/* failure*/
}
}
/******************************************************************************
* AbortDoc16 [GDI.382]
*/
INT16
WINAPI
AbortDoc16
(
HDC16
hdc
)
{
return
Escape16
(
hdc
,
ABORTDOC
,
0
,
0
,
0
);
}
/******************************************************************************
* AbortDoc32 [GDI32.0]
*/
INT32
WINAPI
AbortDoc32
(
HDC32
hdc
)
{
FIXME
(
gdi
,
"(%d): stub
\n
"
,
hdc
);
return
1
;
}
/******************************************************************
/******************************************************************
* DrvGetPrinterDataInternal
* DrvGetPrinterDataInternal
*
*
...
@@ -329,7 +356,8 @@ LONG WINAPI DocumentProperties32W(HWND32 hWnd, HANDLE32 hPrinter,
...
@@ -329,7 +356,8 @@ LONG WINAPI DocumentProperties32W(HWND32 hWnd, HANDLE32 hPrinter,
LPDEVMODE32W
pDevModeInput
,
DWORD
fMode
)
LPDEVMODE32W
pDevModeInput
,
DWORD
fMode
)
{
{
FIXME
(
print
,
"(%d,%d,%s,%p,%p,%ld): stub
\n
"
,
FIXME
(
print
,
"(%d,%d,%s,%p,%p,%ld): stub
\n
"
,
hWnd
,
hPrinter
,
pDeviceName
,
pDevModeOutput
,
pDevModeInput
,
fMode
);
hWnd
,
hPrinter
,
debugstr_w
(
pDeviceName
),
pDevModeOutput
,
pDevModeInput
,
fMode
);
return
-
1
;
return
-
1
;
}
}
...
@@ -516,7 +544,7 @@ BOOL32 WINAPI AddJob32W(HANDLE32 hPrinter, DWORD Level, LPBYTE pData, DWORD cbBu
...
@@ -516,7 +544,7 @@ BOOL32 WINAPI AddJob32W(HANDLE32 hPrinter, DWORD Level, LPBYTE pData, DWORD cbBu
HANDLE32
WINAPI
AddPrinter32A
(
LPSTR
pName
,
DWORD
Level
,
LPBYTE
pPrinter
)
HANDLE32
WINAPI
AddPrinter32A
(
LPSTR
pName
,
DWORD
Level
,
LPBYTE
pPrinter
)
{
{
FIXME
(
print
,
"(%s,%ld,%p): stub
\n
"
,
pName
,
Level
,
pPrinter
);
FIXME
(
print
,
"(%s,%ld,%p): stub
\n
"
,
pName
,
Level
,
pPrinter
);
return
NULL
;
return
0
;
}
}
/*****************************************************************************
/*****************************************************************************
...
@@ -552,7 +580,7 @@ BOOL32 WINAPI DeleteForm32A(HANDLE32 hPrinter, LPSTR pFormName)
...
@@ -552,7 +580,7 @@ BOOL32 WINAPI DeleteForm32A(HANDLE32 hPrinter, LPSTR pFormName)
*/
*/
BOOL32
WINAPI
DeleteForm32W
(
HANDLE32
hPrinter
,
LPWSTR
pFormName
)
BOOL32
WINAPI
DeleteForm32W
(
HANDLE32
hPrinter
,
LPWSTR
pFormName
)
{
{
FIXME
(
print
,
"(%d,%s): stub
\n
"
,
hPrinter
,
pFormName
);
FIXME
(
print
,
"(%d,%s): stub
\n
"
,
hPrinter
,
debugstr_w
(
pFormName
)
);
return
1
;
return
1
;
}
}
...
@@ -614,8 +642,8 @@ BOOL32 WINAPI GetForm32A(HANDLE32 hPrinter, LPSTR pFormName, DWORD Level,
...
@@ -614,8 +642,8 @@ BOOL32 WINAPI GetForm32A(HANDLE32 hPrinter, LPSTR pFormName, DWORD Level,
BOOL32
WINAPI
GetForm32W
(
HANDLE32
hPrinter
,
LPWSTR
pFormName
,
DWORD
Level
,
BOOL32
WINAPI
GetForm32W
(
HANDLE32
hPrinter
,
LPWSTR
pFormName
,
DWORD
Level
,
LPBYTE
pForm
,
DWORD
cbBuf
,
LPDWORD
pcbNeeded
)
LPBYTE
pForm
,
DWORD
cbBuf
,
LPDWORD
pcbNeeded
)
{
{
FIXME
(
print
,
"(%d,%s,%ld,%p,%ld,%p): stub
\n
"
,
hPrinter
,
pFormName
,
FIXME
(
print
,
"(%d,%s,%ld,%p,%ld,%p): stub
\n
"
,
hPrinter
,
Level
,
pForm
,
cbBuf
,
pcbNeeded
);
debugstr_w
(
pFormName
),
Level
,
pForm
,
cbBuf
,
pcbNeeded
);
return
FALSE
;
return
FALSE
;
}
}
...
...
objects/enhmetafile.c
View file @
5a50273f
...
@@ -45,7 +45,7 @@ HENHMETAFILE32 WINAPI GetEnhMetaFile32W(
...
@@ -45,7 +45,7 @@ HENHMETAFILE32 WINAPI GetEnhMetaFile32W(
LPCWSTR
lpszMetaFile
)
/* filename of enhanced metafile */
LPCWSTR
lpszMetaFile
)
/* filename of enhanced metafile */
{
{
FIXME
(
metafile
,
"(%p): stub
\n
"
,
lpszMetaFile
);
FIXME
(
metafile
,
"(%p): stub
\n
"
,
lpszMetaFile
);
return
NULL
;
return
0
;
}
}
/*****************************************************************************
/*****************************************************************************
...
...
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