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
388fd47c
Commit
388fd47c
authored
Nov 07, 2006
by
Huw Davies
Committed by
Alexandre Julliard
Nov 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool.drv: Implement DeletePrinterDriverExW.
parent
7ce85a8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
2 deletions
+33
-2
info.c
dlls/winspool.drv/info.c
+33
-2
No files found.
dlls/winspool.drv/info.c
View file @
388fd47c
...
...
@@ -5756,9 +5756,40 @@ BOOL WINAPI DeletePrinterConnectionW( LPWSTR pName )
BOOL
WINAPI
DeletePrinterDriverExW
(
LPWSTR
pName
,
LPWSTR
pEnvironment
,
LPWSTR
pDriverName
,
DWORD
dwDeleteFlag
,
DWORD
dwVersionFlag
)
{
FIXME
(
"%s %s %s %x %x
\n
"
,
debugstr_w
(
pName
),
debugstr_w
(
pEnvironment
),
HKEY
hkey_drivers
;
BOOL
ret
=
FALSE
;
TRACE
(
"%s %s %s %x %x
\n
"
,
debugstr_w
(
pName
),
debugstr_w
(
pEnvironment
),
debugstr_w
(
pDriverName
),
dwDeleteFlag
,
dwVersionFlag
);
return
TRUE
;
if
(
pName
&&
pName
[
0
])
{
FIXME
(
"pName = %s - unsupported
\n
"
,
debugstr_w
(
pName
));
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
FALSE
;
}
if
(
dwDeleteFlag
)
{
FIXME
(
"dwDeleteFlag = %x - unsupported
\n
"
,
dwDeleteFlag
);
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
FALSE
;
}
hkey_drivers
=
WINSPOOL_OpenDriverReg
(
pEnvironment
,
TRUE
);
if
(
!
hkey_drivers
)
{
ERR
(
"Can't open drivers key
\n
"
);
return
FALSE
;
}
if
(
WINSPOOL_SHDeleteKeyW
(
hkey_drivers
,
pDriverName
)
==
ERROR_SUCCESS
)
ret
=
TRUE
;
RegCloseKey
(
hkey_drivers
);
return
ret
;
}
/******************************************************************************
...
...
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