⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 winbase.h

📁 君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图片解码,浏览,电子书,录音,想学ucos,识货的人就下吧 russblock fmradio explore set
💻 H
📖 第 1 页 / 共 5 页
字号:
#define PURGE_RXCLEAR       0x0008  /* Kill the typeahead buffer if there*//* Modem Status Flags */#define MS_CTS_ON           ((DWORD)0x0010)#define MS_DSR_ON           ((DWORD)0x0020)#define MS_RING_ON          ((DWORD)0x0040)#define MS_RLSD_ON          ((DWORD)0x0080)#define	RTS_CONTROL_DISABLE	0#define	RTS_CONTROL_ENABLE	1#define	RTS_CONTROL_HANDSHAKE	2#define	RTS_CONTROL_TOGGLE	3#define	DTR_CONTROL_DISABLE	0#define	DTR_CONTROL_ENABLE	1#define	DTR_CONTROL_HANDSHAKE	2#define CSTF_CTSHOLD	0x01#define CSTF_DSRHOLD	0x02#define CSTF_RLSDHOLD	0x04#define CSTF_XOFFHOLD	0x08#define CSTF_XOFFSENT	0x10#define CSTF_EOF	0x20#define CSTF_TXIM	0x40#define MAKEINTRESOURCEA(i) (LPSTR)((DWORD)((WORD)(i)))#define MAKEINTRESOURCEW(i) (LPWSTR)((DWORD)((WORD)(i)))#define MAKEINTRESOURCE WINELIB_NAME_AW(MAKEINTRESOURCE)/* Predefined resource types */#define RT_CURSORA         MAKEINTRESOURCEA(1)#define RT_CURSORW         MAKEINTRESOURCEW(1)#define RT_CURSOR            WINELIB_NAME_AW(RT_CURSOR)#define RT_BITMAPA         MAKEINTRESOURCEA(2)#define RT_BITMAPW         MAKEINTRESOURCEW(2)#define RT_BITMAP            WINELIB_NAME_AW(RT_BITMAP)#define RT_ICONA           MAKEINTRESOURCEA(3)#define RT_ICONW           MAKEINTRESOURCEW(3)#define RT_ICON              WINELIB_NAME_AW(RT_ICON)#define RT_MENUA           MAKEINTRESOURCEA(4)#define RT_MENUW           MAKEINTRESOURCEW(4)#define RT_MENU              WINELIB_NAME_AW(RT_MENU)#define RT_DIALOGA         MAKEINTRESOURCEA(5)#define RT_DIALOGW         MAKEINTRESOURCEW(5)#define RT_DIALOG            WINELIB_NAME_AW(RT_DIALOG)#define RT_STRINGA         MAKEINTRESOURCEA(6)#define RT_STRINGW         MAKEINTRESOURCEW(6)#define RT_STRING            WINELIB_NAME_AW(RT_STRING)#define RT_FONTDIRA        MAKEINTRESOURCEA(7)#define RT_FONTDIRW        MAKEINTRESOURCEW(7)#define RT_FONTDIR           WINELIB_NAME_AW(RT_FONTDIR)#define RT_FONTA           MAKEINTRESOURCEA(8)#define RT_FONTW           MAKEINTRESOURCEW(8)#define RT_FONT              WINELIB_NAME_AW(RT_FONT)#define RT_ACCELERATORA    MAKEINTRESOURCEA(9)#define RT_ACCELERATORW    MAKEINTRESOURCEW(9)#define RT_ACCELERATOR       WINELIB_NAME_AW(RT_ACCELERATOR)#define RT_RCDATAA         MAKEINTRESOURCEA(10)#define RT_RCDATAW         MAKEINTRESOURCEW(10)#define RT_RCDATA            WINELIB_NAME_AW(RT_RCDATA)#define RT_MESSAGELISTA    MAKEINTRESOURCEA(11)#define RT_MESSAGELISTW    MAKEINTRESOURCEW(11)#define RT_MESSAGELIST       WINELIB_NAME_AW(RT_MESSAGELIST)#define RT_GROUP_CURSORA   MAKEINTRESOURCEA(12)#define RT_GROUP_CURSORW   MAKEINTRESOURCEW(12)#define RT_GROUP_CURSOR      WINELIB_NAME_AW(RT_GROUP_CURSOR)#define RT_GROUP_ICONA     MAKEINTRESOURCEA(14)#define RT_GROUP_ICONW     MAKEINTRESOURCEW(14)#define RT_GROUP_ICON        WINELIB_NAME_AW(RT_GROUP_ICON)#define LMEM_FIXED          0   #define LMEM_MOVEABLE       0x0002#define LMEM_NOCOMPACT      0x0010#define LMEM_NODISCARD      0x0020#define LMEM_ZEROINIT       0x0040#define LMEM_MODIFY         0x0080#define LMEM_DISCARDABLE    0x0F00#define LMEM_DISCARDED	    0x4000#define LMEM_LOCKCOUNT	    0x00FF#define LPTR (LMEM_FIXED | LMEM_ZEROINIT)#define GMEM_FIXED          0x0000#define GMEM_MOVEABLE       0x0002#define GMEM_NOCOMPACT      0x0010#define GMEM_NODISCARD      0x0020#define GMEM_ZEROINIT       0x0040#define GMEM_MODIFY         0x0080#define GMEM_DISCARDABLE    0x0100#define GMEM_NOT_BANKED     0x1000#define GMEM_SHARE          0x2000#define GMEM_DDESHARE       0x2000#define GMEM_NOTIFY         0x4000#define GMEM_LOWER          GMEM_NOT_BANKED#define GMEM_DISCARDED      0x4000#define GMEM_LOCKCOUNT      0x00ff#define GMEM_INVALID_HANDLE 0x8000#define GHND                (GMEM_MOVEABLE | GMEM_ZEROINIT)#define GPTR                (GMEM_FIXED | GMEM_ZEROINIT)typedef struct tagMEMORYSTATUS{    DWORD    dwLength;    DWORD    dwMemoryLoad;    DWORD    dwTotalPhys;    DWORD    dwAvailPhys;    DWORD    dwTotalPageFile;    DWORD    dwAvailPageFile;    DWORD    dwTotalVirtual;    DWORD    dwAvailVirtual;} MEMORYSTATUS, *LPMEMORYSTATUS;#ifndef NOLOGERROR/* LogParamError and LogError values *//* Error modifier bits */#define ERR_WARNING             0x8000#define ERR_PARAM               0x4000#define ERR_SIZE_MASK           0x3000#define ERR_BYTE                0x1000#define ERR_WORD                0x2000#define ERR_DWORD               0x3000/* LogParamError() values *//* Generic parameter values */#define ERR_BAD_VALUE           0x6001#define ERR_BAD_FLAGS           0x6002#define ERR_BAD_INDEX           0x6003#define ERR_BAD_DVALUE          0x7004#define ERR_BAD_DFLAGS          0x7005#define ERR_BAD_DINDEX          0x7006#define ERR_BAD_PTR             0x7007#define ERR_BAD_FUNC_PTR        0x7008#define ERR_BAD_SELECTOR        0x6009#define ERR_BAD_STRING_PTR      0x700a#define ERR_BAD_HANDLE          0x600b/* KERNEL parameter errors */#define ERR_BAD_HINSTANCE       0x6020#define ERR_BAD_HMODULE         0x6021#define ERR_BAD_GLOBAL_HANDLE   0x6022#define ERR_BAD_LOCAL_HANDLE    0x6023#define ERR_BAD_ATOM            0x6024#define ERR_BAD_HFILE           0x6025/* USER parameter errors */#define ERR_BAD_HWND            0x6040#define ERR_BAD_HMENU           0x6041#define ERR_BAD_HCURSOR         0x6042#define ERR_BAD_HICON           0x6043#define ERR_BAD_HDWP            0x6044#define ERR_BAD_CID             0x6045#define ERR_BAD_HDRVR           0x6046/* GDI parameter errors */#define ERR_BAD_COORDS          0x7060#define ERR_BAD_GDI_OBJECT      0x6061#define ERR_BAD_HDC             0x6062#define ERR_BAD_HPEN            0x6063#define ERR_BAD_HFONT           0x6064#define ERR_BAD_HBRUSH          0x6065#define ERR_BAD_HBITMAP         0x6066#define ERR_BAD_HRGN            0x6067#define ERR_BAD_HPALETTE        0x6068#define ERR_BAD_HMETAFILE       0x6069/* LogError() values *//* KERNEL errors */#define ERR_GALLOC              0x0001#define ERR_GREALLOC            0x0002#define ERR_GLOCK               0x0003#define ERR_LALLOC              0x0004#define ERR_LREALLOC            0x0005#define ERR_LLOCK               0x0006#define ERR_ALLOCRES            0x0007#define ERR_LOCKRES             0x0008#define ERR_LOADMODULE          0x0009/* USER errors */#define ERR_CREATEDLG           0x0040#define ERR_CREATEDLG2          0x0041#define ERR_REGISTERCLASS       0x0042#define ERR_DCBUSY              0x0043#define ERR_CREATEWND           0x0044#define ERR_STRUCEXTRA          0x0045#define ERR_LOADSTR             0x0046#define ERR_LOADMENU            0x0047#define ERR_NESTEDBEGINPAINT    0x0048#define ERR_BADINDEX            0x0049#define ERR_CREATEMENU          0x004a/* GDI errors */#define ERR_CREATEDC            0x0080#define ERR_CREATEMETA          0x0081#define ERR_DELOBJSELECTED      0x0082#define ERR_SELBITMAP           0x0083/* Debugging support (DEBUG SYSTEM ONLY) */typedef struct{    UINT16  flags;    DWORD   dwOptions WINE_PACKED;    DWORD   dwFilter WINE_PACKED;    CHAR    achAllocModule[8] WINE_PACKED;    DWORD   dwAllocBreak WINE_PACKED;    DWORD   dwAllocCount WINE_PACKED;} WINDEBUGINFO, *LPWINDEBUGINFO;/* WINDEBUGINFO flags values */#define WDI_OPTIONS         0x0001#define WDI_FILTER          0x0002#define WDI_ALLOCBREAK      0x0004/* dwOptions values */#define DBO_CHECKHEAP       0x0001#define DBO_BUFFERFILL      0x0004#define DBO_DISABLEGPTRAPPING 0x0010#define DBO_CHECKFREE       0x0020#define DBO_SILENT          0x8000#define DBO_TRACEBREAK      0x2000#define DBO_WARNINGBREAK    0x1000#define DBO_NOERRORBREAK    0x0800#define DBO_NOFATALBREAK    0x0400#define DBO_INT3BREAK       0x0100/* DebugOutput flags values */#define DBF_TRACE           0x0000#define DBF_WARNING         0x4000#define DBF_ERROR           0x8000#define DBF_FATAL           0xc000/* dwFilter values */#define DBF_KERNEL          0x1000#define DBF_KRN_MEMMAN      0x0001#define DBF_KRN_LOADMODULE  0x0002#define DBF_KRN_SEGMENTLOAD 0x0004#define DBF_USER            0x0800#define DBF_GDI             0x0400#define DBF_MMSYSTEM        0x0040#define DBF_PENWIN          0x0020#define DBF_APPLICATION     0x0008#define DBF_DRIVER          0x0010#endif /* NOLOGERROR */typedef struct {        WORD wYear;        WORD wMonth;        WORD wDayOfWeek;        WORD wDay;        WORD wHour;        WORD wMinute;        WORD wSecond;        WORD wMilliseconds;} SYSTEMTIME, *LPSYSTEMTIME;/* The 'overlapped' data structure used by async I/O functions. */typedef struct {        DWORD Internal;        DWORD InternalHigh;        DWORD Offset;        DWORD OffsetHigh;        HANDLE hEvent;} OVERLAPPED, *LPOVERLAPPED;/* Process startup information. *//* STARTUPINFO.dwFlags */#define	STARTF_USESHOWWINDOW	0x00000001#define	STARTF_USESIZE		0x00000002#define	STARTF_USEPOSITION	0x00000004#define	STARTF_USECOUNTCHARS	0x00000008#define	STARTF_USEFILLATTRIBUTE	0x00000010#define	STARTF_RUNFULLSCREEN	0x00000020#define	STARTF_FORCEONFEEDBACK	0x00000040#define	STARTF_FORCEOFFFEEDBACK	0x00000080#define	STARTF_USESTDHANDLES	0x00000100#define	STARTF_USEHOTKEY	0x00000200typedef struct {        DWORD cb;		/* 00: size of struct */        LPSTR lpReserved;	/* 04: */        LPSTR lpDesktop;	/* 08: */        LPSTR lpTitle;		/* 0c: */        DWORD dwX;		/* 10: */        DWORD dwY;		/* 14: */        DWORD dwXSize;		/* 18: */        DWORD dwYSize;		/* 1c: */        DWORD dwXCountChars;	/* 20: */        DWORD dwYCountChars;	/* 24: */        DWORD dwFillAttribute;	/* 28: */        DWORD dwFlags;		/* 2c: */        WORD wShowWindow;	/* 30: */        WORD cbReserved2;	/* 32: */        BYTE *lpReserved2;	/* 34: */        HANDLE hStdInput;	/* 38: */        HANDLE hStdOutput;	/* 3c: */        HANDLE hStdError;	/* 40: */} STARTUPINFOA, *LPSTARTUPINFOA;typedef struct {        DWORD cb;        LPWSTR lpReserved;        LPWSTR lpDesktop;        LPWSTR lpTitle;        DWORD dwX;        DWORD dwY;        DWORD dwXSize;        DWORD dwYSize;        DWORD dwXCountChars;        DWORD dwYCountChars;        DWORD dwFillAttribute;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -