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
8e2cbcab
Commit
8e2cbcab
authored
May 28, 2002
by
Vincent Béron
Committed by
Alexandre Julliard
May 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed warnings.
parent
2ad82e11
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
info.c
dlls/winspool/info.c
+2
-2
aviinfo.c
programs/avitools/aviinfo.c
+4
-4
aviplay.c
programs/avitools/aviplay.c
+2
-2
No files found.
dlls/winspool/info.c
View file @
8e2cbcab
...
...
@@ -1060,7 +1060,7 @@ HANDLE WINAPI AddPrinterW(LPWSTR pName, DWORD Level, LPBYTE pPrinter)
*/
size
=
DocumentPropertiesW
(
0
,
-
1
,
pi
->
pPrinterName
,
NULL
,
NULL
,
0
);
if
(
size
<
0
)
{
FIXME
(
"DocumentPropertiesW on printer '%s' fails
\n
"
,
pi
->
pPrinterName
);
FIXME
(
"DocumentPropertiesW on printer '%s' fails
\n
"
,
debugstr_w
(
pi
->
pPrinterName
)
);
size
=
sizeof
(
DEVMODEW
);
}
if
(
pi
->
pDevMode
)
...
...
@@ -1069,7 +1069,7 @@ HANDLE WINAPI AddPrinterW(LPWSTR pName, DWORD Level, LPBYTE pPrinter)
dmW
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
);
dmW
->
dmSize
=
size
;
if
(
0
>
DocumentPropertiesW
(
0
,
-
1
,
pi
->
pPrinterName
,
dmW
,
NULL
,
DM_OUT_BUFFER
))
{
ERR
(
"DocumentPropertiesW on printer '%s' failed!
\n
"
,
pi
->
pPrinterName
);
ERR
(
"DocumentPropertiesW on printer '%s' failed!
\n
"
,
debugstr_w
(
pi
->
pPrinterName
)
);
SetLastError
(
ERROR_UNKNOWN_PRINTER_DRIVER
);
return
0
;
}
...
...
programs/avitools/aviinfo.c
View file @
8e2cbcab
...
...
@@ -46,9 +46,9 @@ HRESULT (WINAPI *fnAVIStreamInfo)(PAVISTREAM iface,AVISTREAMINFO *afi,LONG size)
#define XX(x) fn##x = (void*)GetProcAddress(avifil32,#x);assert(fn##x);
#ifdef UNICODE
# define XXT(x) fn##x = (void*)GetProcAddress(avifil32,#x
##
"W");assert(fn##x);
# define XXT(x) fn##x = (void*)GetProcAddress(avifil32,#x"W");assert(fn##x);
#else
# define XXT(x) fn##x = (void*)GetProcAddress(avifil32,#x
##
"A");assert(fn##x);
# define XXT(x) fn##x = (void*)GetProcAddress(avifil32,#x"A");assert(fn##x);
#endif
/* Non character dependent routines: */
XX
(
AVIFileInit
);
...
...
@@ -80,13 +80,13 @@ HRESULT (WINAPI *fnAVIStreamInfo)(PAVISTREAM iface,AVISTREAMINFO *afi,LONG size)
}
fprintf
(
stderr
,
"AVI File Info:
\n
"
);
fprintf
(
stderr
,
"
\t
dwMaxBytesPerSec: %ld
\n
"
,
afi
.
dwMaxBytesPerSec
);
#define FF(x) if (afi.dwFlags & AVIFILEINFO_##x) fprintf(stderr,#x
##
",");
#define FF(x) if (afi.dwFlags & AVIFILEINFO_##x) fprintf(stderr,#x",");
fprintf
(
stderr
,
"
\t
dwFlags: 0x%lx ("
,
afi
.
dwFlags
);
FF
(
HASINDEX
);
FF
(
MUSTUSEINDEX
);
FF
(
ISINTERLEAVED
);
FF
(
WASCAPTUREFILE
);
FF
(
COPYRIGHTED
);
fprintf
(
stderr
,
")
\n
"
);
#undef FF
#define FF(x) if (afi.dwCaps & AVIFILECAPS_##x) fprintf(stderr,#x
##
",");
#define FF(x) if (afi.dwCaps & AVIFILECAPS_##x) fprintf(stderr,#x",");
fprintf
(
stderr
,
"
\t
dwCaps: 0x%lx ("
,
afi
.
dwCaps
);
FF
(
CANREAD
);
FF
(
CANWRITE
);
FF
(
ALLKEYFRAMES
);
FF
(
NOCOMPRESSION
);
fprintf
(
stderr
,
")
\n
"
);
...
...
programs/avitools/aviplay.c
View file @
8e2cbcab
...
...
@@ -77,9 +77,9 @@ HRESULT (WINAPI *fnAVIStreamGetFrameClose)(PGETFRAME pg);
#define XX(x) fn##x = (void*)GetProcAddress(avifil32,#x);assert(fn##x);
#ifdef UNICODE
# define XXT(x) fn##x = (void*)GetProcAddress(avifil32,#x
##
"W");assert(fn##x);
# define XXT(x) fn##x = (void*)GetProcAddress(avifil32,#x"W");assert(fn##x);
#else
# define XXT(x) fn##x = (void*)GetProcAddress(avifil32,#x
##
"A");assert(fn##x);
# define XXT(x) fn##x = (void*)GetProcAddress(avifil32,#x"A");assert(fn##x);
#endif
/* non character dependend routines: */
XX
(
AVIFileInit
);
...
...
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