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
cc6685f0
Commit
cc6685f0
authored
Apr 11, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Apr 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack: Standardize the format of advpack parameter lists.
parent
fced6867
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
advpack.c
dlls/advpack/advpack.c
+2
-2
files.c
dlls/advpack/files.c
+6
-6
install.c
dlls/advpack/install.c
+2
-2
No files found.
dlls/advpack/advpack.c
View file @
cc6685f0
...
...
@@ -162,7 +162,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
* RETURNS
* TRUE if user has admin rights, FALSE otherwise.
*/
BOOL
WINAPI
IsNTAdmin
(
DWORD
reserved
,
LPDWORD
pReserved
)
BOOL
WINAPI
IsNTAdmin
(
DWORD
reserved
,
LPDWORD
pReserved
)
{
SID_IDENTIFIER_AUTHORITY
SidAuthority
=
{
SECURITY_NT_AUTHORITY
};
PTOKEN_GROUPS
pTokenGroups
;
...
...
@@ -384,7 +384,7 @@ HRESULT WINAPI RebootCheckOnInstallW(HWND hWnd, LPCWSTR pszINF,
/***********************************************************************
* RegisterOCX (ADVPACK.@)
*/
void
WINAPI
RegisterOCX
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPCSTR
cmdline
,
INT
show
)
void
WINAPI
RegisterOCX
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPCSTR
cmdline
,
INT
show
)
{
WCHAR
wszBuff
[
MAX_PATH
];
WCHAR
*
pwcComma
;
...
...
dlls/advpack/files.c
View file @
cc6685f0
...
...
@@ -191,8 +191,8 @@ UINT CALLBACK pQueueCallback(PVOID Context, UINT Notification,
* See AdvInstallFileW.
*/
HRESULT
WINAPI
AdvInstallFileA
(
HWND
hwnd
,
LPCSTR
lpszSourceDir
,
LPCSTR
lpszSourceFile
,
LPCSTR
lpszDestDir
,
LPCSTR
lpszDestFile
,
DWORD
dwFlags
,
DWORD
dwReserved
)
LPCSTR
lpszDestDir
,
LPCSTR
lpszDestFile
,
DWORD
dwFlags
,
DWORD
dwReserved
)
{
UNICODE_STRING
sourcedir
,
sourcefile
;
UNICODE_STRING
destdir
,
destfile
;
...
...
@@ -396,7 +396,7 @@ static HRESULT DELNODE_recurse_dirtree(LPWSTR fname, DWORD flags)
*
* See DelNodeW.
*/
HRESULT
WINAPI
DelNodeA
(
LPCSTR
pszFileOrDirName
,
DWORD
dwFlags
)
HRESULT
WINAPI
DelNodeA
(
LPCSTR
pszFileOrDirName
,
DWORD
dwFlags
)
{
UNICODE_STRING
fileordirname
;
HRESULT
res
;
...
...
@@ -430,7 +430,7 @@ HRESULT WINAPI DelNodeA( LPCSTR pszFileOrDirName, DWORD dwFlags )
* - Native version apparently does a lot of checking to make sure
* we're not trying to delete a system directory etc.
*/
HRESULT
WINAPI
DelNodeW
(
LPCWSTR
pszFileOrDirName
,
DWORD
dwFlags
)
HRESULT
WINAPI
DelNodeW
(
LPCWSTR
pszFileOrDirName
,
DWORD
dwFlags
)
{
WCHAR
fname
[
MAX_PATH
];
HRESULT
ret
=
E_FAIL
;
...
...
@@ -705,8 +705,8 @@ static DWORD fill_file_list(EXTRACTdest *extractDest, LPCSTR szCabName, LPSTR sz
* spaces, tabs, or colons can be before or after the list, but
* the list itself must only be separated by colons.
*/
HRESULT
WINAPI
ExtractFilesA
(
LPCSTR
CabName
,
LPCSTR
ExpandDir
,
DWORD
Flags
,
LPCSTR
FileList
,
LPVOID
LReserved
,
DWORD
Reserved
)
HRESULT
WINAPI
ExtractFilesA
(
LPCSTR
CabName
,
LPCSTR
ExpandDir
,
DWORD
Flags
,
LPCSTR
FileList
,
LPVOID
LReserved
,
DWORD
Reserved
)
{
EXTRACTdest
extractDest
;
HMODULE
hCabinet
;
...
...
dlls/advpack/install.c
View file @
cc6685f0
...
...
@@ -304,7 +304,7 @@ static HRESULT launch_exe(LPCWSTR cmd, LPCWSTR dir, HANDLE *phEXE)
HRESULT
WINAPI
RunSetupCommandA
(
HWND
hWnd
,
LPCSTR
szCmdName
,
LPCSTR
szInfSection
,
LPCSTR
szDir
,
LPCSTR
lpszTitle
,
HANDLE
*
phEXE
,
DWORD
dwFlags
,
LPVOID
pvReserved
)
DWORD
dwFlags
,
LPVOID
pvReserved
)
{
UNICODE_STRING
cmdname
,
infsec
;
UNICODE_STRING
dir
,
title
;
...
...
@@ -365,7 +365,7 @@ HRESULT WINAPI RunSetupCommandA(HWND hWnd, LPCSTR szCmdName,
HRESULT
WINAPI
RunSetupCommandW
(
HWND
hWnd
,
LPCWSTR
szCmdName
,
LPCWSTR
szInfSection
,
LPCWSTR
szDir
,
LPCWSTR
lpszTitle
,
HANDLE
*
phEXE
,
DWORD
dwFlags
,
LPVOID
pvReserved
)
DWORD
dwFlags
,
LPVOID
pvReserved
)
{
HINF
hinf
;
...
...
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