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.
[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
<DllImport("kernel32.dll", CharSet:=CharSet.Auto)> _
<DllImport("kernel32.dll", CharSet:=CharSet.Unicode)> _
Those 'int32's are IntPtr - and using an Int32 insteade will fail on a 64-bit platform.
Tips & Tricks:
Please add some!
Alternative Managed API:
The FileInfo() class provides managed access to this information. As with all .NET file handling (as of framework 4) it is constrained in terms of the length of filename allowed.
The FindFirstFileEx API
11/23/2014 3:32:21 PM - -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
Defines values that are used with the FindFirstFileEx function to specify the information level of the returned data.
12/8/2019 11:57:18 AM - -188.8.131.52
Defines values that are used with the FindFirstFileEx function to specify the type of filtering to perform.
12/8/2019 11:55:21 AM - -184.108.40.206
Contains information about the file that is found by the FindFirstFile, FindFirstFileEx, or FindNextFile function.
11/10/2021 10:35:50 AM - -220.127.116.11
Please edit this page!
Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).