说明.txt
来自「(1) 为Windows操作系统建立兼容的DOS命令接口」· 文本 代码 · 共 30 行
TXT
30 行
1.句柄
HANDLE obj_handle;
"HANDLE" is Windows Data Types .The data types supported by Microsoft? Windows? are used to define function return values, function and message parameters, and structure members. They define the size and meaning of these elements.
2.创建文件
CreateFile
This function creates, opens, or truncates a file, communications resource, disk device, or console. It returns a handle that can be used to access the object. It can also open and return a handle to a directory.
A remote application interface (RAPI) version of this function exists, and it is named CeCreateFile.
HANDLE CreateFile(
LPCTSTR lpFileName,
DWORD dwDesiredAccess,
DWORD dwShareMode,
LPSECURITY_ATTRIBUTES lpSecurityAttributes,
DWORD dwCreationDispostion ,
DWORD dwFlagsAndAttributes,
HANDLE hTemplateFile);
2.获取文件时间
BOOL GetFileTime(
HANDLE hFile,
LPFILETIME lpCreationTime,
LPFILETIME lpLastAccessTime,
LPFILETIME lpLastWriteTime );
This function retrieves the date and time that a file was created, last accessed, and last modified.
3.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?