?? sysbase.h
字號:
// System APIs
// Definitions and Structures
#ifndef __SYSBASE_H
#define __SYSBASE_H
#include <knldefs.h>
// Interfaces
typedef struct _INVOKESTRUCT
{
_u32 ebx, ecx, edx;
_u32 esi, edi;
_u32 uResult;
} INVOKESTRUCT;
// return -1 indicates error occurred
long SysInvoke(_u32 uFunc, INVOKESTRUCT *pIS);
// Basic system
#ifndef NO_SYSBASE
#define __SYSBASE
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _SYSVERSION
{
_u32 uVersion;
_u32 uBuild;
_u32 uTime1, uTime2;
} SYSVERSION;
void SystemVersion(SYSVERSION *pVersion);
void ExitProcess(_u32 uExitCode);
#ifdef __cplusplus
}
#endif
#endif
// End of Basic system
// Filesystem
#ifndef NO_FILESYSTEM
#ifndef __FILESYSTEM
#define __FILESYSTEM
#endif
typedef _u32 HANDLE;
// Maximun length of path
#define MAX_PATH 1024
// CreateStruct
typedef struct _CREATEFILESTRUCT
{
_u32 uSize; // size of the structure
_u32 uFlags; // flags
} CREATEFILESTRUCT;
// IOCTL structure
typedef struct _IOCTLSTRUCT
{
_u32 uCommand; // ioctl command
_u32 uInputBuffer; // input buffer to send data to driver
_u32 uInputSize; // size of input buffer in bytes
_u32 uOutputBuffer; // output buffer to receive data from driver
_u32 uOutputSize; // size of output buffer in bytes
_u32 uTransferSize; // bytes tranferred during this operation
} IOCTLSTRUCT;
#endif
// End of Filesystem
// User defined services
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -