⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 说明.txt

📁 (1) 为Windows操作系统建立兼容的DOS命令接口
💻 TXT
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -