Mercury
Wed Sep 28 04:38:03 CDT 2005
LPVOID MapViewOfFileEx(
HANDLE hFileMappingObject,
DWORD dwDesiredAccess,
DWORD dwFileOffsetHigh,
DWORD dwFileOffsetLow,
SIZE_T dwNumberOfBytesToMap,
LPVOID lpBaseAddress
);
SIZE_T The maximum number of bytes to which a pointer can point. Use
for a count that must span the full range of a pointer.
This type is declared in Basetsd.h as follows:
typedef ULONG_PTR SIZE_T;
IE SIZE_T is = LONG_PTR which *is* 64bit.
"Andre Da Costa [Extended64]" <andred25@hotmail.com> wrote in message
news:uh4$tV7wFHA.596@TK2MSFTNGP12.phx.gbl...
> If you are using FAT32 move to NTFS, it will support that file size.
> --
> Andre
> Extended64 |
http://www.extended64.com
> Blog |
http://www.extended64.com/blogs/andre
>
http://spaces.msn.com/members/adacosta
> FAQ for MS AntiSpy
http://www.geocities.com/marfer_mvp/FAQ_MSantispy.htm
>
> "Peter" <Peter@discussions.microsoft.com> wrote in message
> news:7E81F6F7-3CD1-4FD5-A8B8-4FC2BD410AFE@microsoft.com...
>> In case of I've got a file larger than 4GByte can I map the entire file
>> into
>> my address space in 64bit Windows?
>> MapViewOfFile() supports only a DWORD argument for the mapping size but
>> this
>> can be left zero to indicate that one wants to map the entire file.
>> Does this work for files larger than 4GByte?
>
>