G
Guest
Hi all
I want to use the GetDiskFreeSpaceEx API call in my VB.NET code
I use the declaration as follows
<DllImport("coredll.dll")>
Public Shared Function GetDiskFreeSpaceEx(ByVal directory As String,
ByRef lpFreeBytesAvailableToCaller As UInt64,
ByRef lpTotalNumberOfBytes As UInt64,
ByRef lpTotalNumberOfFreeBytes As UInt64) As Lon
End Functio
But when I make a call to this function, it throws a unsupported exception
Plesae help
Thanking you
I want to use the GetDiskFreeSpaceEx API call in my VB.NET code
I use the declaration as follows
<DllImport("coredll.dll")>
Public Shared Function GetDiskFreeSpaceEx(ByVal directory As String,
ByRef lpFreeBytesAvailableToCaller As UInt64,
ByRef lpTotalNumberOfBytes As UInt64,
ByRef lpTotalNumberOfFreeBytes As UInt64) As Lon
End Functio
But when I make a call to this function, it throws a unsupported exception
Plesae help
Thanking you