Jump to content
YOUR-AD-HERE
HOSTING
TOOLS

Locked LOF Autoit


Expermicid

Recommended Posts

Recien salidito xD

 

[lenguaje=autoit]; Autor........ : Pink

; Nombre........: LOF

;Return..........: largo de Archivo en bytes.

; Uso............: LOF($sfile)

;Gracias Yashied por la Corrección

func LOF($sFile)

$hFile = DllCall('kernel32.dll', 'ptr', 'CreateFileW', 'wstr', $sFile, 'dword', 0x80000000, 'dword', 0x06, 'ptr', 0, 'dword', 3, 'dword', 0, 'ptr', 0)

$Ret = DllCall('kernel32.dll', 'int', 'GetFileSizeEx', 'ptr', $hFile[0], 'uint64*', 0)

DllCall('kernel32.dll', 'int', 'CloseHandle', 'ptr', $hFile[0])

Return $Ret[2]

EndFunc[/lenguaje]

 

Saludos

Edited by Expermicid
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.