Desktop Functions: Smart Device Functions:
|
GetFileSizeEx (kernel32)
C# Signature:
[DllImport("kernel32.dll")] VB.Net Signature:
<DllImport("kernel32.dll",CharSet:=CharSet.Auto)> _ <DllImport("kernel32.dll",CharSet:=CharSet.Auto)> _ Public Shared Function GetFileSizeEx( _
<[In]()> ByVal hFile As IntPtr, _ User-Defined Types:None. Notes:None. Tips & Tricks:Please add some! Sample Code:C#
IntPtr handle = CreateFile(PathString, GENERIC_READ, FILE_SHARE_READ, 0, OPEN_EXISTING, FILE_ATTRIBUTE_READONLY, 0); //PInvoked too Please add some! Alternative Managed API:class System.IO.FileInfo, member Length. 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). |
|