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
ba525fab
Commit
ba525fab
authored
Dec 02, 2005
by
James Hawkins
Committed by
Alexandre Julliard
Dec 02, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document many of the advpack functions.
parent
bc5c0b16
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
74 additions
and
0 deletions
+74
-0
advpack.c
dlls/advpack/advpack.c
+74
-0
No files found.
dlls/advpack/advpack.c
View file @
ba525fab
...
...
@@ -126,6 +126,8 @@ HRESULT WINAPI RunSetupCommand( HWND hWnd, LPCSTR szCmdName,
/***********************************************************************
* LaunchINFSection (ADVPACK.@)
*
* See LaunchINFSectionEx.
*/
INT
WINAPI
LaunchINFSection
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPSTR
cmdline
,
INT
show
)
{
...
...
@@ -135,6 +137,21 @@ INT WINAPI LaunchINFSection( HWND hWnd, HINSTANCE hInst, LPSTR cmdline, INT show
/***********************************************************************
* LaunchINFSectionEx (ADVPACK.@)
*
* Installs an INF section.
*
* PARAMS
* hWnd [I] Handle to the window used for the display.
* hInst [I] Instance of the process.
* cmdline [I] Contains parameters in the order INF,section,CAB,flags.
* show [I] How the window should be shown.
*
* RETURNS
* Success: S_OK.
* Failure: E_FAIL.
*
* BUGS
* Unimplemented.
*/
HRESULT
WINAPI
LaunchINFSectionEx
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPSTR
cmdline
,
INT
show
)
{
...
...
@@ -181,6 +198,18 @@ BOOL WINAPI DoInfInstall(const SETUPCOMMAND_PARAMS *setup)
/***********************************************************************
* IsNTAdmin (ADVPACK.@)
*
* Checks if the user has admin privileges.
*
* PARAMS
* reserved [I] Reserved. Must be 0.
* pReserved [I] Reserved. Must be NULL.
*
* RETURNS
* TRUE if user has admin rights, FALSE otherwise.
*
* BUGS
* Unimplemented.
*/
BOOL
WINAPI
IsNTAdmin
(
DWORD
reserved
,
LPDWORD
pReserved
)
{
...
...
@@ -190,6 +219,11 @@ BOOL WINAPI IsNTAdmin( DWORD reserved, LPDWORD pReserved )
/***********************************************************************
* NeedRebootInit (ADVPACK.@)
*
* Sets up conditions for reboot checking.
*
* RETURNS
* Value required by NeedReboot.
*/
DWORD
WINAPI
NeedRebootInit
(
VOID
)
{
...
...
@@ -199,6 +233,17 @@ DWORD WINAPI NeedRebootInit(VOID)
/***********************************************************************
* NeedReboot (ADVPACK.@)
*
* Determines whether a reboot is required.
*
* PARAMS
* dwRebootCheck [I] Value from NeedRebootInit.
*
* RETURNS
* TRUE if a reboot is needed, FALSE otherwise.
*
* BUGS
* Unimplemented.
*/
BOOL
WINAPI
NeedReboot
(
DWORD
dwRebootCheck
)
{
...
...
@@ -208,6 +253,8 @@ BOOL WINAPI NeedReboot(DWORD dwRebootCheck)
/***********************************************************************
* GetVersionFromFile (ADVPACK.@)
*
* See GetVersionFromFileEx.
*/
HRESULT
WINAPI
GetVersionFromFile
(
LPSTR
Filename
,
LPDWORD
MajorVer
,
LPDWORD
MinorVer
,
BOOL
Version
)
...
...
@@ -225,6 +272,21 @@ typedef struct tagLANGANDCODEPAGE
/***********************************************************************
* GetVersionFromFileEx (ADVPACK.@)
*
* Gets the files version or language information.
*
* PARAMS
* lpszFilename [I] The file to get the info from.
* pdwMSVer [O] Major version.
* pdwLSVer [O] Minor version.
* bVersion [I] Whether to retrieve version or language info.
*
* RETURNS
* Always returns S_OK.
*
* NOTES
* If bVersion is TRUE, version information is retrieved, else
* pdwMSVer gets the language ID and pdwLSVer gets the codepage ID.
*/
HRESULT
WINAPI
GetVersionFromFileEx
(
LPSTR
lpszFilename
,
LPDWORD
pdwMSVer
,
LPDWORD
pdwLSVer
,
BOOL
bVersion
)
...
...
@@ -452,6 +514,18 @@ HRESULT WINAPI DelNode( LPCSTR pszFileOrDirName, DWORD dwFlags )
/***********************************************************************
* DelNodeRunDLL32 (ADVPACK.@)
*
* Deletes a file or directory, WinMain style.
*
* PARAMS
* hWnd [I] Handle to the window used for the display.
* hInst [I] Instance of the process.
* cmdline [I] Contains parameters in the order FileOrDirName,Flags.
* show [I] How the window should be shown.
*
* RETURNS
* Success: S_OK.
* Failure: E_FAIL.
*
* BUGS
* Unimplemented
*/
...
...
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