-
December 21st, 2004, 10:00 PM
#1
Question on MoveFileEx
Hi,
Where can I see the value equivalent on MoveFileEx dwFlag Parameter.
what is the value of the ff:
MOVEFILE_COPY_ALLOWED
MOVEFILE_DELAY_UNTIL_REBOOT
MOVEFILE_REPLACE_EXISTING
MOVEFILE_WRITE_THROUGH
I would like to use this API in a language where I can not use those predefined variables.
THanks,
Neil
neilg_cebu@yahoo.com
-
December 22nd, 2004, 02:35 AM
#2
Re: Question on MoveFileEx
You can find these constants defined in WINBASE.H
Code:
#define MOVEFILE_REPLACE_EXISTING 0x00000001
#define MOVEFILE_COPY_ALLOWED 0x00000002
#define MOVEFILE_DELAY_UNTIL_REBOOT 0x00000004
#define MOVEFILE_WRITE_THROUGH 0x00000008
To use them in other programming languages just define with the values above.
This is an example for VB:
Code:
Const MOVEFILE_REPLACE_EXISTING As Integer = 1
Const MOVEFILE_COPY_ALLOWED As Integer = 2
Const MOVEFILE_DELAY_UNTIL_REBOOT As Integer = 4
Const MOVEFILE_WRITE_THROUGH As Integer = 8
-
December 22nd, 2004, 03:33 AM
#3
Re: Question on MoveFileEx
Neil
neilg_cebu@yahoo.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|