📄 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 + -