Smart Device Functions:
Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than kernel32, prefix the name with the module name and a period.
Tips & Tricks:
The third argument (lpNewFilePointer) is of type LARGE_INTEGER, which has a size of 64 bits. For this reason use a UInt64 for this argument. (See sample below)
IntPtr ptr = new IntPtr(&n);
SetFilePointerEx(handle, 0, ptr, FILE_CURRENT);//ptr contains current location of file pointer. handle is a pointer to an open file handle.
Alternative Managed API:
Do you know one? Please contribute it!
LARGE_INTEGER - http://msdn.microsoft.com/en-us/library/aa383713(VS.85).aspx
The SetFilePointerEx API
3/13/2018 7:29:12 AM - -22.214.171.124
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-126.96.36.199
Please edit this page!
Do you have...