Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
000136ac
Commit
000136ac
authored
Jan 13, 2009
by
Andrey Turkin
Committed by
Alexandre Julliard
Jan 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Add support for DIRID_PRINTPROCESSOR.
parent
be964897
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
Makefile.in
dlls/setupapi/Makefile.in
+1
-1
dirid.c
dlls/setupapi/dirid.c
+9
-1
No files found.
dlls/setupapi/Makefile.in
View file @
000136ac
...
...
@@ -6,7 +6,7 @@ VPATH = @srcdir@
MODULE
=
setupapi.dll
IMPORTLIB
=
setupapi
IMPORTS
=
uuid user32 version advapi32 rpcrt4 kernel32 ntdll
DELAYIMPORTS
=
shell32 wintrust ole32
DELAYIMPORTS
=
shell32 wintrust ole32
winspool
C_SRCS
=
\
devinst.c
\
...
...
dlls/setupapi/dirid.c
View file @
000136ac
...
...
@@ -28,6 +28,7 @@
#include "wingdi.h"
#include "winuser.h"
#include "winnls.h"
#include "winspool.h"
#include "setupapi.h"
#include "shlobj.h"
#include "wine/unicode.h"
...
...
@@ -86,6 +87,7 @@ static const WCHAR *create_system_dirid( int dirid )
WCHAR
buffer
[
MAX_PATH
+
32
],
*
str
;
int
len
;
DWORD
needed
;
switch
(
dirid
)
{
...
...
@@ -138,8 +140,14 @@ static const WCHAR *create_system_dirid( int dirid )
return
get_csidl_dir
(
CSIDL_PROFILE
);
case
DIRID_LOADER
:
return
C_Root
;
/* FIXME */
case
DIRID_PRINTPROCESSOR
:
if
(
!
GetPrintProcessorDirectoryW
(
NULL
,
NULL
,
1
,
(
LPBYTE
)
buffer
,
sizeof
(
buffer
),
&
needed
))
{
WARN
(
"cannot retrieve print processor directory
\n
"
);
return
get_unknown_dirid
();
}
break
;
case
DIRID_COLOR
:
/* FIXME */
case
DIRID_PRINTPROCESSOR
:
/* FIXME */
default:
FIXME
(
"unknown dirid %d
\n
"
,
dirid
);
return
get_unknown_dirid
();
...
...
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