Code:
DECLARE FUNCTION GetAncestor LIB "USER32.DLL" ALIAS "GetAncestor" (BYVAL hwnd AS LONG,BYVAL gaFlags AS LONG) AS LONG %GA_PARENT = 1 %GA_ROOT = 2 %GA_ROOTOWNER = 3
Fred
mailto:[email protected][email protected]</A>
http://www.oxenby.se
DECLARE FUNCTION GetAncestor LIB "USER32.DLL" ALIAS "GetAncestor" (BYVAL hwnd AS LONG,BYVAL gaFlags AS LONG) AS LONG %GA_PARENT = 1 %GA_ROOT = 2 %GA_ROOTOWNER = 3
================================================================= These constants are missing: %FS_FILE_COMPRESSION = %FILE_FILE_COMPRESSION %FS_VOL_IS_COMPRESSED = %FILE_VOLUME_IS_COMPRESSED These declares are incorrect: Declare Function GetLogicalDriveStrings Lib "KERNEL32.DLL" Alias "GetLogicalDriveStringsA" _ (ByVal nBufferLength As Long, _ lpBuffer As Asciiz) As Long Declare Function GetVolumeInformation Lib "KERNEL32.DLL" Alias "GetVolumeInformationA" _ (lpRootPathName As Asciiz, _ lpVolumeNameBuffer As Asciiz, _ ByVal nVolumeNameSize As Long, _ lpVolumeSerialNumber As Long, _ lpMaximumComponentLength As Long, _ lpFileSystemFlags As Long, _ lpFileSystemNameBuffer As Asciiz, _ ByVal nFileSystemNameSize As Long) As Long Should be: Declare Function GetLogicalDriveStrings Lib "KERNEL32.DLL" Alias "GetLogicalDriveStringsA" _ (ByVal nBufferLength As Long, _ lpBuffer As [b]Any[/b]) As Long Declare Function GetVolumeInformation Lib "KERNEL32.DLL" Alias "GetVolumeInformationA" _ (lpRootPathName As Asciiz, _ lpVolumeNameBuffer As Asciiz, _ ByVal nVolumeNameSize As [b]Dword[/b], _ lpVolumeSerialNumber As [b]Dword[/b], _ lpMaximumComponentLength As [b]Dword[/b], _ lpFileSystemFlags As [b]Dword[/b], _ lpFileSystemNameBuffer As Asciiz, _ ByVal nFileSystemNameSize As Dword) As Long =================================================================
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment