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
8bbde0c4
Commit
8bbde0c4
authored
Nov 21, 2005
by
Vincent Béron
Committed by
Alexandre Julliard
Nov 21, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add/correct prototypes for some already defined functions in advpack.
parent
abb5d46d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
9 deletions
+17
-9
advpack.c
dlls/advpack/advpack.c
+7
-4
advpub.h
include/advpub.h
+10
-5
No files found.
dlls/advpack/advpack.c
View file @
8bbde0c4
...
...
@@ -93,17 +93,19 @@ HRESULT WINAPI RunSetupCommand( HWND hWnd, LPCSTR szCmdName,
/***********************************************************************
* LaunchINFSection (ADVPACK.@)
*/
void
WINAPI
LaunchINFSection
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPC
STR
cmdline
,
INT
show
)
INT
WINAPI
LaunchINFSection
(
HWND
hWnd
,
HINSTANCE
hInst
,
LP
STR
cmdline
,
INT
show
)
{
FIXME
(
"(%p %p %s %d): stub
\n
"
,
hWnd
,
hInst
,
debugstr_a
(
cmdline
),
show
);
return
0
;
}
/***********************************************************************
* LaunchINFSectionEx (ADVPACK.@)
*/
void
WINAPI
LaunchINFSectionEx
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPC
STR
cmdline
,
INT
show
)
HRESULT
WINAPI
LaunchINFSectionEx
(
HWND
hWnd
,
HINSTANCE
hInst
,
LP
STR
cmdline
,
INT
show
)
{
FIXME
(
"(%p %p %s %d): stub
\n
"
,
hWnd
,
hInst
,
debugstr_a
(
cmdline
),
show
);
return
E_FAIL
;
}
/* this structure very closely resembles parameters of RunSetupCommand() */
...
...
@@ -146,7 +148,7 @@ BOOL WINAPI DoInfInstall(const SETUPCOMMAND_PARAMS *setup)
/***********************************************************************
* IsNTAdmin (ADVPACK.@)
*/
BOOL
WINAPI
IsNTAdmin
(
DWORD
reserved
,
PDWORD
pReserved
)
BOOL
WINAPI
IsNTAdmin
(
DWORD
reserved
,
L
PDWORD
pReserved
)
{
FIXME
(
"(0x%08lx, %p): stub
\n
"
,
reserved
,
pReserved
);
return
TRUE
;
...
...
@@ -375,9 +377,10 @@ HRESULT WINAPI DelNode( LPCSTR pszFileOrDirName, DWORD dwFlags )
* BUGS
* Unimplemented
*/
void
WINAPI
DelNodeRunDLL32
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPC
STR
cmdline
,
INT
show
)
HRESULT
WINAPI
DelNodeRunDLL32
(
HWND
hWnd
,
HINSTANCE
hInst
,
LP
STR
cmdline
,
INT
show
)
{
FIXME
(
"(%s): stub
\n
"
,
debugstr_a
(
cmdline
));
return
E_FAIL
;
}
/***********************************************************************
...
...
include/advpub.h
View file @
8bbde0c4
...
...
@@ -60,16 +60,21 @@ typedef CSTRTABLE *LPCSTRTABLE;
#define ADN_DONT_DEL_SUBDIRS 0x00000002
#define ADN_DONT_DEL_DIR 0x00000004
HRESULT
WINAPI
RunSetupCommand
(
HWND
hWnd
,
LPCSTR
szCmdName
,
LPCSTR
szInfSection
,
LPCSTR
szDir
,
LPCSTR
lpszTitle
,
HANDLE
*
phEXE
,
DWORD
dwFlags
,
LPVOID
pvReserved
);
HRESULT
WINAPI
DelNode
(
LPCSTR
pszFileOrDirName
,
DWORD
dwFlags
);
HRESULT
WINAPI
DelNodeRunDLL32
(
HWND
,
HINSTANCE
,
LPSTR
,
INT
);
HRESULT
WINAPI
ExecuteCab
(
HWND
hwnd
,
PCABINFO
pCab
,
LPVOID
pReserved
);
HRESULT
WINAPI
ExtractFiles
(
LPCSTR
,
LPCSTR
,
DWORD
,
LPCSTR
,
LPVOID
,
DWORD
);
HRESULT
WINAPI
GetVersionFromFile
(
LPSTR
lpszFilename
,
LPDWORD
pdwMSVer
,
LPDWORD
pdwLSVer
,
BOOL
bVersion
);
HRESULT
WINAPI
GetVersionFromFileEx
(
LPSTR
lpszFilename
,
LPDWORD
pdwMSVer
,
LPDWORD
pdwLSVer
,
BOOL
bVersion
);
BOOL
WINAPI
IsNTAdmin
(
DWORD
,
LPDWORD
);
INT
WINAPI
LaunchINFSection
(
HWND
,
HINSTANCE
,
LPSTR
,
INT
);
HRESULT
WINAPI
LaunchINFSectionEx
(
HWND
,
HINSTANCE
,
LPSTR
,
INT
);
DWORD
WINAPI
NeedRebootInit
(
VOID
);
BOOL
WINAPI
NeedReboot
(
DWORD
dwRebootCheck
);
HRESULT
WINAPI
RegInstall
(
HMODULE
hm
,
LPCSTR
pszSection
,
LPCSTRTABLE
pstTable
);
HRESULT
WINAPI
GetVersionFromFile
(
LPSTR
lpszFilename
,
LPDWORD
pdwMSVer
,
LPDWORD
pdwLSVer
,
BOOL
bVersion
);
HRESULT
WINAPI
GetVersionFromFileEx
(
LPSTR
lpszFilename
,
LPDWORD
pdwMSVer
,
LPDWORD
pdwLSVer
,
BOOL
bVersion
);
HRESULT
WINAPI
RunSetupCommand
(
HWND
hWnd
,
LPCSTR
szCmdName
,
LPCSTR
szInfSection
,
LPCSTR
szDir
,
LPCSTR
lpszTitle
,
HANDLE
*
phEXE
,
DWORD
dwFlags
,
LPVOID
pvReserved
);
HRESULT
WINAPI
TranslateInfString
(
PCSTR
pszInfFilename
,
PCSTR
pszInstallSection
,
PCSTR
pszTranslateSection
,
PCSTR
pszTranslateKey
,
PSTR
pszBuffer
,
DWORD
dwBufferSize
,
PDWORD
pdwRequiredSize
,
PVOID
pvReserved
);
...
...
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