mirror of
https://github.com/reactos/reactos.git
synced 2024-07-30 16:18:43 +00:00
[KERNEL32]
- Add defines for internal flags for BasepCopyFileExW(). - Add prototype for BasepCopyFileExW(). Based on documentation by Alex. svn path=/trunk/; revision=63578
This commit is contained in:
parent
3d43dcc6cd
commit
b1847abb77
|
@ -131,6 +131,17 @@ DWORD
|
||||||
|
|
||||||
extern WaitForInputIdleType UserWaitForInputIdleRoutine;
|
extern WaitForInputIdleType UserWaitForInputIdleRoutine;
|
||||||
|
|
||||||
|
/* Flags for PrivCopyFileExW && BasepCopyFileExW */
|
||||||
|
#define BASEP_COPY_METADATA 0x10
|
||||||
|
#define BASEP_COPY_SACL 0x20
|
||||||
|
#define BASEP_COPY_OWNER_AND_GROUP 0x40
|
||||||
|
#define BASEP_COPY_DIRECTORY 0x80
|
||||||
|
#define BASEP_COPY_BACKUP_SEMANTICS 0x100
|
||||||
|
#define BASEP_COPY_REPLACE 0x200
|
||||||
|
#define BASEP_COPY_SKIP_DACL 0x400
|
||||||
|
#define BASEP_COPY_PUBLIC_MASK 0xF
|
||||||
|
#define BASEP_COPY_BASEP_MASK 0xFFFFFFF0
|
||||||
|
|
||||||
/* GLOBAL VARIABLES **********************************************************/
|
/* GLOBAL VARIABLES **********************************************************/
|
||||||
|
|
||||||
extern BOOL bIsFileApiAnsi;
|
extern BOOL bIsFileApiAnsi;
|
||||||
|
@ -422,6 +433,18 @@ BaseMarkFileForDelete(
|
||||||
IN ULONG FileAttributes
|
IN ULONG FileAttributes
|
||||||
);
|
);
|
||||||
|
|
||||||
|
BOOL
|
||||||
|
BasepCopyFileExW(
|
||||||
|
IN LPCWSTR lpExistingFileName,
|
||||||
|
IN LPCWSTR lpNewFileName,
|
||||||
|
IN LPPROGRESS_ROUTINE lpProgressRoutine OPTIONAL,
|
||||||
|
IN LPVOID lpData OPTIONAL,
|
||||||
|
IN LPBOOL pbCancel OPTIONAL,
|
||||||
|
IN DWORD dwCopyFlags,
|
||||||
|
IN DWORD dwBasepFlags,
|
||||||
|
OUT LPHANDLE lpExistingHandle,
|
||||||
|
OUT LPHANDLE lpNewHandle
|
||||||
|
);
|
||||||
|
|
||||||
/* FIXME: This is EXPORTED! It should go in an external kernel32.h header */
|
/* FIXME: This is EXPORTED! It should go in an external kernel32.h header */
|
||||||
VOID
|
VOID
|
||||||
|
|
Loading…
Reference in a new issue