?? cehelp.h
字號:
#include <windows.h>#include <stdio.h>#include <conio.h>#include <tchar.h>//#undef GetCurrentDirectory //#undef SetCurrentDirectory //#undef GetFullPathName #undef GetEnvironmentVariable #undef SetEnvironmentVariable #undef FreeEnvironmentStrings #undef GetEnvironmentStrings #undef GetFileType //#define GetCurrentDirectory PPcGetCurrentDirectory//#define SetCurrentDirectory PPcSetCurrentDirectory//#define GetFullPathName PPcGetFullPathName#define GetEnvironmentVariable PPcGetEnvironmentVariable#define SetEnvironmentVariable PPcSetEnvironmentVariable#define FreeEnvironmentStrings PPcFreeEnvironmentStrings#define GetEnvironmentStrings PPcGetEnvironmentStrings#define GetFileType PPcGetFileType#define FILE_TYPE_UNKNOWN 0x0000#define FILE_TYPE_DISK 0x0001#define FILE_TYPE_CHAR 0x0002#define FILE_TYPE_PIPE 0x0003#define FILE_TYPE_REMOTE 0x8000DWORD PPcGetCurrentDirectory( DWORD nBufferLength, // size of directory buffer LPTSTR lpBuffer // directory buffer);BOOL PPcSetCurrentDirectory( LPCTSTR lpPathName // new directory name);DWORD PPcGetFullPathName( LPCTSTR lpFileName, // file name DWORD nBufferLength, // size of path buffer LPTSTR lpBuffer, // path buffer LPTSTR *lpFilePart // address of file name in path);DWORD PPcGetEnvironmentVariable( LPCTSTR lpName, // environment variable name LPTSTR lpBuffer, // buffer for variable value DWORD nSize // size of buffer);BOOL PPcSetEnvironmentVariable( LPCTSTR lpName, // environment variable name LPCTSTR lpValue // new value for variable);BOOL PPcFreeEnvironmentStrings( LPTSTR lpszEnvironmentBlock // environment strings);LPWSTR PPcGetEnvironmentStrings();DWORD PPcGetFileType( HANDLE hFile // handle to file);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -