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
bdfa506e
Commit
bdfa506e
authored
Dec 01, 2005
by
James Hawkins
Committed by
Alexandre Julliard
Dec 01, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a stub for AdvInstallFile.
parent
1e5153cf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
1 deletion
+49
-1
advpack.c
dlls/advpack/advpack.c
+34
-0
advpack.spec
dlls/advpack/advpack.spec
+1
-1
advpub.h
include/advpub.h
+14
-0
No files found.
dlls/advpack/advpack.c
View file @
bdfa506e
...
...
@@ -36,6 +36,40 @@ WINE_DEFAULT_DEBUG_CHANNEL(advpack);
typedef
HRESULT
(
WINAPI
*
DLLREGISTER
)
(
void
);
/***********************************************************************
* AdvInstallFile (ADVPACK.@)
*
* Copies a file from the source to a destination.
*
* PARAMS
* hwnd [I] Handle to the window used for messages.
* lpszSourceDir [I] Source directory.
* lpszSourceFile [I] Source filename.
* lpszDestDir [I] Destination directory.
* lpszDestFile [I] Optional destination filename.
* dwFlags [I] See advpub.h.
* dwReserved [I] Reserved. Must be 0.
*
* RETURNS
* Success: S_OK.
* Failure: E_FAIL.
*
* NOTES
* If lpszDestFile is NULL, the destination filename is the same as
* lpszSourceFIle.
*
* BUGS
* Unimplemented.
*/
HRESULT
WINAPI
AdvInstallFile
(
HWND
hwnd
,
LPCSTR
lpszSourceDir
,
LPCSTR
lpszSourceFile
,
LPCSTR
lpszDestDir
,
LPCSTR
lpszDestFile
,
DWORD
dwFlags
,
DWORD
dwReserved
)
{
FIXME
(
"(%p,%p,%p,%p,%p,%ld,%ld) stub
\n
"
,
hwnd
,
debugstr_a
(
lpszSourceDir
),
debugstr_a
(
lpszSourceFile
),
debugstr_a
(
lpszDestDir
),
debugstr_a
(
lpszDestFile
),
dwFlags
,
dwReserved
);
return
E_FAIL
;
}
/***********************************************************************
* DllMain (ADVPACK.@)
...
...
dlls/advpack/advpack.spec
View file @
bdfa506e
@ stub AddDelBackupEntry
@ st
ub AdvInstallFile
@ st
dcall AdvInstallFile(long str str str str long long)
@ stub CloseINFEngine
@ stdcall DelNode(str long)
@ stdcall DelNodeRunDLL32(ptr ptr str long)
...
...
include/advpub.h
View file @
bdfa506e
...
...
@@ -46,6 +46,17 @@ typedef struct _StrTable {
typedef
const
STRTABLE
CSTRTABLE
;
typedef
CSTRTABLE
*
LPCSTRTABLE
;
/* Flags for AdvInstallFile */
#define AIF_WARNIFSKIP 0x00000001
#define AIF_NOSKIP 0x00000002
#define AIF_NOVERSIONCHECK 0x00000004
#define AIF_FORCE_FILE_IN_USE 0x00000008
#define AIF_NOOVERWRITE 0x00000010
#define AIF_NO_VERSION_DIALOG 0x00000020
#define AIF_REPLACEONLY 0x00000400
#define AIF_NOLANGUAGECHECK 0x10000000
#define AIF_QUIET 0x20000000
/* Flags for RunSetupCommand */
#define RSC_FLAG_INF 0x00000001
#define RSC_FLAG_SKIPDISKSPACECHECK 0x00000002
...
...
@@ -61,6 +72,9 @@ typedef CSTRTABLE *LPCSTRTABLE;
#define ADN_DONT_DEL_DIR 0x00000004
#define ADN_DEL_UNC_PATHS 0x00000008
HRESULT
WINAPI
AdvInstallFile
(
HWND
hwnd
,
LPCSTR
lpszSourceDir
,
LPCSTR
lpszSourceFile
,
LPCSTR
lpszDestDir
,
LPCSTR
lpszDestFile
,
DWORD
dwFlags
,
DWORD
dwReserved
);
HRESULT
WINAPI
DelNode
(
LPCSTR
pszFileOrDirName
,
DWORD
dwFlags
);
HRESULT
WINAPI
DelNodeRunDLL32
(
HWND
,
HINSTANCE
,
LPSTR
,
INT
);
HRESULT
WINAPI
ExecuteCab
(
HWND
hwnd
,
PCABINFO
pCab
,
LPVOID
pReserved
);
...
...
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