Programming 版 (精华区)

发信人: flytigger (TalkWithMe), 信区: Programming
标  题: WINAPI调用
发信站: 紫 丁 香 (Sun Aug 29 18:08:55 1999), 转信

INT 21H的各个子功能     MS-DOS 操作             等效的Win32 API函数
0EH                     Select Disk             SetCurrentDirectory
19H                     Get Current Disk        GetCurrentDirectory
2AH                     Get Date                GetSystemTime
2BH                     Set Date                SetSystemTime
2CH                     Get Time                GetSystemTime
2DH                     Set Time                SetSystemTime
36H                     Get Disk Free Space     GetDiskFreeSpace
39H                     Create Directory        CreateDirectory
3AH                     Remove Directory        RemoveDirectory
3BH                     Set Current Directory   SetCurrentDirectory
3CH                     Create Handle           CreateFile
3DH                     Open Handle             CreateFile
3EH                     Close Handle            CloseHandle
3FH                     Read Handle             ReadFile
40H                     Write Handle            WriteFile
41H                     Delete File             DeleteFile
42H                     Move File Pointer       SetFilePointer
43H                     Get File Attributes     GetFileAttributes
43H                     Set File Attributes     SetFileAttributes
47H                     Get Current Directory   GetCurrentDirectory
4EH                     Find First File         FindFirstFile
4FH                     Find Next File          FindNextFile
56H                     Change Directory Entry  MoveFile
57H                     Get Date/Time of File   GetFileTime
57H                     Set Date/Time of File   SetFileTime
59H                     Get Extended Error      GetLastError
5AH                     Create Unique File      GetTempFileName
5BH                     Create New File         CreateFile
5CH                     Lock                    LockFile
5CH                     Unlock                  UnlockFile
67H                     Set Handle Count        SetHandleCount
以上函数仅供参考,如有差错请与小弟联系。
 

--
※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: 202.118.235.247]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:4.794毫秒