SetFileTime

此頁(yè)沒(méi)有內(nèi)容條目
內(nèi)容

SetFileTime

VB聲明

Declare Function SetFileTime Lib "kernel32" Alias "SetFileTime" (ByVal hFile As Long, lpCreationTime As FILETIME, lpLastAccessTime As FILETIME, lpLastWriteTime As FILETIME) As Long

說(shuō)明

設(shè)置文件的創(chuàng)建、訪問(wèn)及上次修改時(shí)間

返回值

Long,非零表示成功,零表示失敗。會(huì)設(shè)置GetLastError

參數(shù)表

參數(shù)

類型及說(shuō)明

hFile

Long,系統(tǒng)文件句柄

lpCreationTime

FILETIME,文件的創(chuàng)建時(shí)間

lpLastAccessTime

FILETIME,文件上一次訪問(wèn)的時(shí)間

lpLastWriteTime

FILETIME,文件最近一次修改的時(shí)間

Top