📄 bsesub.mh
字号:
USHORT APIENTRY16 MouSetDevStatus(PUSHORT,HMOU);
USHORT APIENTRY16 MouSetEventMask(PUSHORT,HMOU);
USHORT APIENTRY16 MouSetPtrPos(PPTRLOC,HMOU);
USHORT APIENTRY16 MouSetPtrShape(PBYTE,PPTRSHAPE,HMOU);
USHORT APIENTRY16 MouSetScaleFact(PSCALEFACT,HMOU);
USHORT APIENTRY16 MouSynch(USHORT);
#endif
#ifdef INCL_VIO
#define Vio16CheckCharType VIO16CHECKCHARTYPE
#define Vio16DeRegister VIO16DEREGISTER
#define Vio16EndPopUp VIO16ENDPOPUP
#define Vio16GetAnsi VIO16GETANSI
#define Vio16GetBuf VIO16GETBUF
#define Vio16GetConfig VIO16GETCONFIG
#define Vio16GetCp VIO16GETCP
#define Vio16GetCurPos VIO16GETCURPOS
#define Vio16GetCurType VIO16GETCURTYPE
#define Vio16GetFont VIO16GETFONT
#define Vio16GetMode VIO16GETMODE
#define Vio16GetPhysBuf VIO16GETPHYSBUF
#define Vio16GetState VIO16GETSTATE
#define Vio16ModeUndo VIO16MODEUNDO
#define Vio16ModeWait VIO16MODEWAIT
#define Vio16PopUp VIO16POPUP
#define Vio16PrtSc VIO16PRTSC
#define Vio16PrtScToggle VIO16PRTSCTOGGLE
#define Vio16ReadCellStr VIO16READCELLSTR
#define Vio16ReadCharStr VIO16READCHARSTR
#define Vio16RedrawSize VIO16REDRAWSIZE
#define Vio16Register VIO16REGISTER
#define Vio16SavRedrawUndo VIO16SAVREDRAWUNDO
#define Vio16SavRedrawWait VIO16SAVREDRAWWAIT
#define Vio16ScrLock VIO16SCRLOCK
#define Vio16ScrUnLock VIO16SCRUNLOCK
#define Vio16ScrollDn VIO16SCROLLDN
#define Vio16ScrollLf VIO16SCROLLLF
#define Vio16ScrollRt VIO16SCROLLRT
#define Vio16ScrollUp VIO16SCROLLUP
#define Vio16SetAnsi VIO16SETANSI
#define Vio16SetCp VIO16SETCP
#define Vio16SetCurPos VIO16SETCURPOS
#define Vio16SetCurType VIO16SETCURTYPE
#define Vio16SetFont VIO16SETFONT
#define Vio16SetMode VIO16SETMODE
#define Vio16SetState VIO16SETSTATE
#define Vio16ShowBuf VIO16SHOWBUF
#define Vio16WrtCellStr VIO16WRTCELLSTR
#define Vio16WrtCharStr VIO16WRTCHARSTR
#define Vio16WrtCharStrAtt VIO16WRTCHARSTRATT
#define Vio16WrtNAttr VIO16WRTNATTR
#define Vio16WrtNCell VIO16WRTNCELL
#define Vio16WrtNChar VIO16WRTNCHAR
#define Vio16WrtTTY VIO16WRTTTY
#define VioDeRegister VIO16DEREGISTER
#define VioEndPopUp VIO16ENDPOPUP
#define VioGetAnsi VIO16GETANSI
#define VioGetBuf VIO16GETBUF
#define VioGetConfig VIO16GETCONFIG
#define VioGetCp VIO16GETCP
#define VioGetCurPos VIO16GETCURPOS
#define VioGetCurType VIO16GETCURTYPE
#define VioGetFont VIO16GETFONT
#define VioGetMode VIO16GETMODE
#define VioGetPhysBuf VIO16GETPHYSBUF
#define VioGetState VIO16GETSTATE
#define VioModeUndo VIO16MODEUNDO
#define VioModeWait VIO16MODEWAIT
#define VioPopUp VIO16POPUP
#define VioPrtSc VIO16PRTSC
#define VioPrtScToggle VIO16PRTSCTOGGLE
#define VioReadCellStr VIO16READCELLSTR
#define VioReadCharStr VIO16READCHARSTR
#define VioRedrawSize VIO16REDRAWSIZE
#define VioRegister VIO16REGISTER
#define VioSavRedrawUndo VIO16SAVREDRAWUNDO
#define VioSavRedrawWait VIO16SAVREDRAWWAIT
#define VioScrLock VIO16SCRLOCK
#define VioScrUnLock VIO16SCRUNLOCK
#define VioScrollDn VIO16SCROLLDN
#define VioScrollLf VIO16SCROLLLF
#define VioScrollRt VIO16SCROLLRT
#define VioScrollUp VIO16SCROLLUP
#define VioSetAnsi VIO16SETANSI
#define VioSetCp VIO16SETCP
#define VioSetCurPos VIO16SETCURPOS
#define VioSetCurType VIO16SETCURTYPE
#define VioSetFont VIO16SETFONT
#define VioSetMode VIO16SETMODE
#define VioSetState VIO16SETSTATE
#define VioShowBuf VIO16SHOWBUF
#define VioWrtCellStr VIO16WRTCELLSTR
#define VioWrtCharStr VIO16WRTCHARSTR
#define VioWrtCharStrAtt VIO16WRTCHARSTRATT
#define VioWrtNAttr VIO16WRTNATTR
#define VioWrtNCell VIO16WRTNCELL
#define VioWrtNChar VIO16WRTNCHAR
#define VioWrtTTY VIO16WRTTTY
#define VR_VIOGETCURPOS 0x00000001
#define VR_VIOGETCURTYPE 0x00000002
#define VR_VIOGETMODE 0x00000004
#define VR_VIOGETBUF 0x00000008
#define VR_VIOGETPHYSBUF 0x00000010
#define VR_VIOSETCURPOS 0x00000020
#define VR_VIOSETCURTYPE 0x00000040
#define VR_VIOSETMODE 0x00000080
#define VR_VIOSHOWBUF 0x00000100
#define VR_VIOREADCHARSTR 0x00000200
#define VR_VIOREADCELLSTR 0x00000400
#define VR_VIOWRTNCHAR 0x00000800
#define VR_VIOWRTNATTR 0x00001000
#define VR_VIOWRTNCELL 0x00002000
#define VR_VIOWRTTTY 0x00004000
#define VR_VIOWRTCHARSTR 0x00008000
#define VR_VIOWRTCHARSTRATT 0x00010000
#define VR_VIOWRTCELLSTR 0x00020000
#define VR_VIOSCROLLUP 0x00040000
#define VR_VIOSCROLLDN 0x00080000
#define VR_VIOSCROLLLF 0x00100000
#define VR_VIOSCROLLRT 0x00200000
#define VR_VIOSETANSI 0x00400000
#define VR_VIOGETANSI 0x00800000
#define VR_VIOPRTSC 0x01000000
#define VR_VIOSCRLOCK 0x02000000
#define VR_VIOSCRUNLOCK 0x04000000
#define VR_VIOSAVREDRAWWAIT 0x08000000
#define VR_VIOSAVREDRAWUNDO 0x10000000
#define VR_VIOPOPUP 0x20000000
#define VR_VIOENDPOPUP 0x40000000
#define VR_VIOPRTSCTOGGLE 0x80000000
#define ANSI_ON 1
#define ANSI_OFF 0
#define VGMT_OTHER 1
#define VGMT_GRAPHICS 2
#define VGMT_DISABLEBURST 4
#define VSRWI_SAVEANDREDRAW 0
#define VSRWI_REDRAW 1
#define VSRWN_SAVE 0
#define VSRWN_REDRAW 1
#define UNDOI_GETOWNER 0
#define UNDOI_RELEASEOWNER 1
#define UNDOK_ERRORCODE 0
#define UNDOK_TERMINATE 1
#define LOCKIO_NOWAIT 0
#define LOCKIO_WAIT 1
#define LOCK_SUCCESS 0
#define LOCK_FAIL 1
#define VP_NOWAIT 0
#define VP_WAIT 1
#define VP_OPAQUE 0
#define VP_TRANSPARENT 2
#define VMWR_POPUP 0
#define VMWN_POPUP 0
#define COLORS_2 1
#define COLORS_4 2
#define COLORS_16 4
#define DISPLAY_MONOCHROME 0
#define DISPLAY_CGA 1
#define DISPLAY_EGA 2
#define DISPLAY_VGA 3
#define DISPLAY_8514A 7
#define DISPLAY_IMAGEADAPTER 8
#define DISPLAY_XGA 9
#define DISPLAY_SVGA 10
#define MONITOR_MONOCHROME 0
#define MONITOR_COLOR 1
#define MONITOR_ENHANCED 2
#define MONITOR_8503 3
#define MONITOR_851X_COLOR 4
#define MONITOR_8514 9
#define MONITOR_FLATPANEL 10
#define MONITOR_8507_8604 11
#define MONITOR_8515 12
#define MONITOR_9515 15
#define MONITOR_9517 17
#define MONITOR_9518 18
#define MONITOR_OEM 19
typedef SHANDLE HVIO;
typedef HVIO *PHVIO;
typedef _Packed struct _VIOCONFIGINFO {
USHORT cb;
USHORT adapter;
USHORT display;
ULONG cbMemory;
USHORT Configuration;
USHORT VDHVersion;
USHORT Flags;
ULONG HWBufferSize;
ULONG FullSaveSize;
ULONG PartSaveSize;
USHORT EMAdaptersOFF;
USHORT EMDisplaysOFF;
} VIOCONFIGINFO, *PVIOCONFIGINFO;
typedef struct _VIOCURSORINFO {
USHORT yStart;
USHORT cEnd;
USHORT cx;
USHORT attr;
} VIOCURSORINFO, *PVIOCURSORINFO;
typedef struct _VIOFONTINFO {
USHORT cb;
USHORT type;
USHORT cxCell;
USHORT cyCell;
PVOID16 pbData;
USHORT cbData;
} VIOFONTINFO, *PVIOFONTINFO;
typedef _Packed struct _VIOMODEINFO {
USHORT cb;
UCHAR fbType;
UCHAR color;
USHORT col;
USHORT row;
USHORT hres;
USHORT vres;
UCHAR fmt_ID;
UCHAR attrib;
ULONG buf_addr;
ULONG buf_length;
ULONG full_length;
ULONG partial_length;
PCH ext_data_addr;
} VIOMODEINFO, *PVIOMODEINFO;
typedef struct _VIOPHYSBUF {
PBYTE pBuf;
ULONG cb;
SEL asel[1];
} VIOPHYSBUF, *PVIOPHYSBUF;
typedef struct _VIOPALSTATE {
USHORT cb;
USHORT type;
USHORT iFirst;
USHORT acolor[1];
} VIOPALSTATE, *PVIOPALSTATE;
typedef struct _VIOOVERSCAN {
USHORT cb;
USHORT type;
USHORT color;
} VIOOVERSCAN, *PVIOOVERSCAN;
typedef struct _VIOINTENSITY {
USHORT cb;
USHORT type;
USHORT fs;
} VIOINTENSITY, *PVIOINTENSITY;
typedef struct _VIOCOLORREG {
USHORT cb;
USHORT type;
USHORT firstcolorreg;
USHORT numcolorregs;
PCH colorregaddr;
} VIOCOLORREG, *PVIOCOLORREG;
typedef struct _VIOSETULINELOC {
USHORT cb;
USHORT type;
USHORT scanline;
} VIOSETULINELOC, *PVIOSETULINELOC;
typedef struct _VIOSETTARGET {
USHORT cb;
USHORT type;
USHORT defaultalgorithm;
} VIOSETTARGET, *PVIOSETTARGET;
USHORT APIENTRY16 VioDeRegister(VOID);
USHORT APIENTRY16 VioEndPopUp(HVIO);
USHORT APIENTRY16 VioGetAnsi(PUSHORT,HVIO);
USHORT APIENTRY16 VioGetBuf(PULONG,PUSHORT,HVIO);
USHORT APIENTRY16 VioGetConfig(USHORT,PVIOCONFIGINFO,HVIO);
USHORT APIENTRY16 VioGetCp(USHORT,PUSHORT,HVIO);
USHORT APIENTRY16 VioGetCurPos(PUSHORT,PUSHORT,HVIO);
USHORT APIENTRY16 VioGetCurType(PVIOCURSORINFO,HVIO);
USHORT APIENTRY16 VioGetMode(PVIOMODEINFO,HVIO);
USHORT APIENTRY16 VioGetPhysBuf(PVIOPHYSBUF,USHORT);
USHORT APIENTRY16 VioGetState(PVOID,HVIO);
USHORT APIENTRY16 VioGlobalReg(PSZ,PSZ,ULONG,ULONG,LONG);
USHORT APIENTRY16 VioModeUndo(USHORT,USHORT,USHORT);
USHORT APIENTRY16 VioModeWait(USHORT,PUSHORT,USHORT);
USHORT APIENTRY16 VioPopUp(PUSHORT,HVIO);
USHORT APIENTRY16 VioPrtSc(HVIO);
USHORT APIENTRY16 VioPrtScToggle(HVIO);
USHORT APIENTRY16 VioReadCellStr(PCH,PUSHORT,USHORT,USHORT,HVIO);
USHORT APIENTRY16 VioReadCharStr(PCH,PUSHORT,USHORT,USHORT,HVIO);
USHORT APIENTRY16 VioRegister(PSZ,PSZ,ULONG,ULONG);
USHORT APIENTRY16 VioSavRedrawUndo(USHORT,USHORT,HVIO);
USHORT APIENTRY16 VioSavRedrawWait(USHORT,PUSHORT,HVIO);
USHORT APIENTRY16 VioScrLock(USHORT,PUCHAR,HVIO);
USHORT APIENTRY16 VioScrollDn(USHORT,USHORT,USHORT,USHORT,USHORT,PBYTE,HVIO);
USHORT APIENTRY16 VioScrollLf(USHORT,USHORT,USHORT,USHORT,USHORT,PBYTE,HVIO);
USHORT APIENTRY16 VioScrollRt(USHORT,USHORT,USHORT,USHORT,USHORT,PBYTE,HVIO);
USHORT APIENTRY16 VioScrollUp(USHORT,USHORT,USHORT,USHORT,USHORT,PBYTE,HVIO);
USHORT APIENTRY16 VioScrUnLock(HVIO);
USHORT APIENTRY16 VioSetAnsi(USHORT,HVIO);
USHORT APIENTRY16 VioSetCp(USHORT,USHORT,HVIO);
USHORT APIENTRY16 VioSetCurPos(USHORT,USHORT,HVIO);
USHORT APIENTRY16 VioSetCurType(PVIOCURSORINFO,HVIO);
USHORT APIENTRY16 VioSetFont(PVIOFONTINFO,HVIO);
USHORT APIENTRY16 VioSetMode(PVIOMODEINFO,HVIO);
USHORT APIENTRY16 VioSetState(PVOID,HVIO);
USHORT APIENTRY16 VioShowBuf(USHORT,USHORT,HVIO);
USHORT APIENTRY16 VioWrtCellStr(PCH,USHORT,USHORT,USHORT,HVIO);
USHORT APIENTRY16 VioWrtCharStr(PCH,USHORT,USHORT,USHORT,HVIO);
USHORT APIENTRY16 VioWrtCharStrAtt(PCH,USHORT,USHORT,USHORT,PBYTE,HVIO);
USHORT APIENTRY16 VioWrtNAttr(PBYTE,USHORT,USHORT,USHORT,HVIO);
USHORT APIENTRY16 VioWrtNCell(PBYTE,USHORT,USHORT,USHORT,HVIO);
USHORT APIENTRY16 VioWrtNChar(PBYTE,USHORT,USHORT,USHORT,HVIO);
USHORT APIENTRY16 VioWrtTTY(PCH,USHORT,HVIO);
#endif
:include cplusepi.sp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -