Changeset 3124 for trunk/include


Ignore:
Timestamp:
Mar 16, 2000, 8:16:38 PM (26 years ago)
Author:
sandervl
Message:

header updates

Location:
trunk/include
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/HandleManager.h

    r2326 r3124  
    1 /* $Id: HandleManager.h,v 1.16 2000-01-05 19:35:52 sandervl Exp $ */
     1/* $Id: HandleManager.h,v 1.17 2000-03-16 19:16:34 sandervl Exp $ */
    22
    33/*
     
    132132
    133133DWORD  HMHandleAllocate       (PULONG phHandle16,
    134                                        ULONG  hHandle32);
     134                               ULONG  hHandle32);
    135135
    136136DWORD  HMHandleFree           (ULONG  hHandle16);
     
    141141
    142142DWORD  HMHandleTranslateToWin (ULONG  hHandle32,
    143                                        PULONG phHandle16);
     143                               PULONG phHandle16);
    144144
    145145DWORD  HMHandleTranslateToOS2 (ULONG  hHandle16,
    146                                        PULONG hHandle32);
     146                               PULONG hHandle32);
    147147
    148148DWORD  HMHandleTranslateToOS2i(ULONG  hHandle16);
     
    349349BOOL HMGetCommState(INT hCommDev, LPDCB lpdcb);
    350350
     351HANDLE HMCreateThread(LPSECURITY_ATTRIBUTES  lpsa,
     352                      DWORD                  cbStack,
     353                      LPTHREAD_START_ROUTINE lpStartAddr,
     354                      LPVOID                 lpvThreadParm,
     355                      DWORD                  fdwCreate,
     356                      LPDWORD                lpIDThread);
     357INT    HMGetThreadPriority(HANDLE hThread);
     358DWORD  HMSuspendThread(HANDLE hThread);
     359BOOL   HMSetThreadPriority(HANDLE hThread, int priority);
     360BOOL   HMGetThreadContext(HANDLE hThread, CONTEXT *lpContext);
     361BOOL   HMSetThreadContext(HANDLE hThread, const CONTEXT *lpContext);
     362BOOL   HMTerminateThread(HANDLE hThread, DWORD exitcode);
     363DWORD  HMResumeThread(HANDLE hThread);
     364BOOL   HMGetExitCodeThread(HANDLE hThread, LPDWORD lpExitCode);
     365BOOL   HMSetThreadTerminated(HANDLE hThread);
     366
    351367#ifdef __cplusplus__
    352368  }
  • trunk/include/exceptions.h

    r1224 r3124  
    1 /* $Id: exceptions.h,v 1.4 1999-10-09 15:03:47 sandervl Exp $ */
     1/* $Id: exceptions.h,v 1.5 2000-03-16 19:16:35 sandervl Exp $ */
    22
    33#ifndef __EXCEPTIONS_H__
     
    109109    BYTE    RegisterArea[SIZE_OF_80387_REGISTERS];
    110110    DWORD   Cr0NpxState;
    111 } FLOATING_SAVE_AREA;
     111} FLOATING_SAVE_AREA_WIN;
    112112
    113113typedef struct
     
    122122    DWORD   Dr7;
    123123
    124     FLOATING_SAVE_AREA FloatSave;
     124    FLOATING_SAVE_AREA_WIN FloatSave;
    125125
    126126    DWORD   SegGs;
  • trunk/include/win/thread.h

    r2326 r3124  
    1 /* $Id: thread.h,v 1.14 2000-01-05 19:35:38 sandervl Exp $ */
     1/* $Id: thread.h,v 1.15 2000-03-16 19:16:38 sandervl Exp $ */
    22
    33/*
     
    107107    ULONG          hooks[WH_NB_HOOKS]; //list of hooks for this thread queue
    108108    ULONG          threadId;       // Thread ID
     109    ULONG          hThread;        // thread handle
     110    ULONG          exceptFrame;    // address of os/2 exception handler frame
    109111    ULONG          newWindow;      // Pointer to window object of window that was just created
    110112    void*          pWsockData;     // Winsock data pointer (NULL if unused)
     
    118120    DWORD          pidDebuggee;    // process id of debuggee
    119121    DWORD          logfile;        // last FILE ptr used for logging (for exception handling in vfprintf)
    120     ULONG          hThread;
    121122    PROCESSTHREAD_SECURITYINFO threadinfo; //used to store security info for thread tokens
    122123#endif
  • trunk/include/win32type.h

    r2982 r3124  
    1 /* $Id: win32type.h,v 1.35 2000-03-03 11:14:24 sandervl Exp $ */
     1/* $Id: win32type.h,v 1.36 2000-03-16 19:16:35 sandervl Exp $ */
    22
    33/*
     
    909909} SECURITY_IMPERSONATION_LEVEL, *PSECURITY_IMPERSONATION_LEVEL;
    910910
     911#define SIZE_OF_80387_REGISTERS      80
     912
     913typedef struct _FLOATING_SAVE_AREA
     914{
     915    DWORD   ControlWord;
     916    DWORD   StatusWord;
     917    DWORD   TagWord;   
     918    DWORD   ErrorOffset;
     919    DWORD   ErrorSelector;
     920    DWORD   DataOffset;
     921    DWORD   DataSelector;   
     922    BYTE    RegisterArea[SIZE_OF_80387_REGISTERS];
     923    DWORD   Cr0NpxState;
     924} FLOATING_SAVE_AREA, *PFLOATING_SAVE_AREA;
     925
     926typedef struct _CONTEXT86
     927{
     928    DWORD   ContextFlags;
     929
     930    /* These are selected by CONTEXT_DEBUG_REGISTERS */
     931    DWORD   Dr0;
     932    DWORD   Dr1;
     933    DWORD   Dr2;
     934    DWORD   Dr3;
     935    DWORD   Dr6;
     936    DWORD   Dr7;
     937
     938    /* These are selected by CONTEXT_FLOATING_POINT */
     939    FLOATING_SAVE_AREA FloatSave;
     940
     941    /* These are selected by CONTEXT_SEGMENTS */
     942    DWORD   SegGs;
     943    DWORD   SegFs;
     944    DWORD   SegEs;
     945    DWORD   SegDs;   
     946
     947    /* These are selected by CONTEXT_INTEGER */
     948    DWORD   Edi;
     949    DWORD   Esi;
     950    DWORD   Ebx;
     951    DWORD   Edx;   
     952    DWORD   Ecx;
     953    DWORD   Eax;
     954
     955    /* These are selected by CONTEXT_CONTROL */
     956    DWORD   Ebp;   
     957    DWORD   Eip;
     958    DWORD   SegCs;
     959    DWORD   EFlags;
     960    DWORD   Esp;
     961    DWORD   SegSs;
     962} CONTEXT;
     963
     964typedef CONTEXT *PCONTEXT;
     965
    911966#pragma pack()
    912967
  • trunk/include/winconst.h

    r3098 r3124  
    1 /* $Id: winconst.h,v 1.28 2000-03-13 12:44:05 sandervl Exp $ */
     1/* $Id: winconst.h,v 1.29 2000-03-16 19:16:36 sandervl Exp $ */
    22
    33/*
     
    11261126#define HKEY_CURRENT_CONFIG     ((HKEY) 0x80000005)
    11271127#define HKEY_DYN_DATA           ((HKEY) 0x80000006)
     1128
     1129/* Virtual key codes */
     1130#define VK_LBUTTON_W          0x01
     1131#define VK_RBUTTON_W          0x02
     1132#define VK_CANCEL_W           0x03
     1133#define VK_MBUTTON_W          0x04
     1134/*                          0x05-0x07  Undefined */
     1135#define VK_BACK_W             0x08
     1136#define VK_TAB_W              0x09
     1137/*                          0x0A-0x0B  Undefined */
     1138#define VK_CLEAR_W            0x0C
     1139#define VK_RETURN_W           0x0D
     1140/*                          0x0E-0x0F  Undefined */
     1141#define VK_SHIFT_W            0x10
     1142#define VK_CONTROL_W          0x11
     1143#define VK_MENU_W             0x12
     1144#define VK_PAUSE_W            0x13
     1145#define VK_CAPITAL_W          0x14
     1146/*                          0x15-0x19  Reserved for Kanji systems */
     1147/*                          0x1A       Undefined */
     1148#define VK_ESCAPE_W           0x1B
     1149/*                          0x1C-0x1F  Reserved for Kanji systems */
     1150#define VK_SPACE_W            0x20
     1151#define VK_PRIOR_W            0x21
     1152#define VK_NEXT_W             0x22
     1153#define VK_END_W              0x23
     1154#define VK_HOME_W             0x24
     1155#define VK_LEFT_W             0x25
     1156#define VK_UP_W               0x26
     1157#define VK_RIGHT_W            0x27
     1158#define VK_DOWN_W             0x28
     1159#define VK_SELECT_W           0x29
     1160#define VK_PRINT_W            0x2A /* OEM specific in Windows 3.1 SDK */
     1161#define VK_EXECUTE_W          0x2B
     1162#define VK_SNAPSHOT_W         0x2C
     1163#define VK_INSERT_W           0x2D
     1164#define VK_DELETE_W           0x2E
     1165#define VK_HELP_W             0x2F
     1166#define VK_0_W                0x30
     1167#define VK_1_W                0x31
     1168#define VK_2_W                0x32
     1169#define VK_3_W                0x33
     1170#define VK_4_W                0x34
     1171#define VK_5_W                0x35
     1172#define VK_6_W                0x36
     1173#define VK_7_W                0x37
     1174#define VK_8_W                0x38
     1175#define VK_9_W                0x39
     1176/*                          0x3A-0x40  Undefined */
     1177#define VK_A_W                0x41
     1178#define VK_B_W                0x42
     1179#define VK_C_W                0x43
     1180#define VK_D_W                0x44
     1181#define VK_E_W                0x45
     1182#define VK_F_W                0x46
     1183#define VK_G_W                0x47
     1184#define VK_H_W                0x48
     1185#define VK_I_W                0x49
     1186#define VK_J_W                0x4A
     1187#define VK_K_W                0x4B
     1188#define VK_L_W                0x4C
     1189#define VK_M_W                0x4D
     1190#define VK_N_W                0x4E
     1191#define VK_O_W                0x4F
     1192#define VK_P_W                0x50
     1193#define VK_Q_W                0x51
     1194#define VK_R_W                0x52
     1195#define VK_S_W                0x53
     1196#define VK_T_W                0x54
     1197#define VK_U_W                0x55
     1198#define VK_V_W                0x56
     1199#define VK_W_W                0x57
     1200#define VK_X_W                0x58
     1201#define VK_Y_W                0x59
     1202#define VK_Z_W                0x5A
     1203
     1204#define VK_LWIN_W             0x5B
     1205#define VK_RWIN_W             0x5C
     1206#define VK_APPS_W             0x5D
     1207/*                          0x5E-0x5F Unassigned */
     1208#define VK_NUMPAD0_W          0x60
     1209#define VK_NUMPAD1_W          0x61
     1210#define VK_NUMPAD2_W          0x62
     1211#define VK_NUMPAD3_W          0x63
     1212#define VK_NUMPAD4_W          0x64
     1213#define VK_NUMPAD5_W          0x65
     1214#define VK_NUMPAD6_W          0x66
     1215#define VK_NUMPAD7_W          0x67
     1216#define VK_NUMPAD8_W          0x68
     1217#define VK_NUMPAD9_W          0x69
     1218#define VK_MULTIPLY_W         0x6A
     1219#define VK_ADD_W              0x6B
     1220#define VK_SEPARATOR_W        0x6C
     1221#define VK_SUBTRACT_W         0x6D
     1222#define VK_DECIMAL_W          0x6E
     1223#define VK_DIVIDE_W           0x6F
     1224#define VK_F1_W               0x70
     1225#define VK_F2_W               0x71
     1226#define VK_F3_W               0x72
     1227#define VK_F4_W               0x73
     1228#define VK_F5_W               0x74
     1229#define VK_F6_W               0x75
     1230#define VK_F7_W               0x76
     1231#define VK_F8_W               0x77
     1232#define VK_F9_W               0x78
     1233#define VK_F10_W              0x79
     1234#define VK_F11_W              0x7A
     1235#define VK_F12_W              0x7B
     1236#define VK_F13_W              0x7C
     1237#define VK_F14_W              0x7D
     1238#define VK_F15_W              0x7E
     1239#define VK_F16_W              0x7F
     1240#define VK_F17_W              0x80
     1241#define VK_F18_W              0x81
     1242#define VK_F19_W              0x82
     1243#define VK_F20_W              0x83
     1244#define VK_F21_W              0x84
     1245#define VK_F22_W              0x85
     1246#define VK_F23_W              0x86
     1247#define VK_F24_W              0x87
     1248/*                          0x88-0x8F  Unassigned */
     1249#define VK_NUMLOCK_W          0x90
     1250#define VK_SCROLL_W           0x91
     1251/*                          0x92-0x9F  Unassigned */
     1252/*
     1253 * differencing between right and left shift/control/alt key.
     1254 * Used only by GetAsyncKeyState() and GetKeyState().
     1255 */
     1256#define VK_LSHIFT_W           0xA0
     1257#define VK_RSHIFT_W           0xA1
     1258#define VK_LCONTROL_W         0xA2
     1259#define VK_RCONTROL_W         0xA3
     1260#define VK_LMENU_W            0xA4
     1261#define VK_RMENU_W            0xA5
     1262/*                          0xA6-0xB9  Unassigned */
     1263#define VK_OEM_1_W            0xBA
     1264#define VK_OEM_PLUS_W         0xBB
     1265#define VK_OEM_COMMA_W        0xBC
     1266#define VK_OEM_MINUS_W        0xBD
     1267#define VK_OEM_PERIOD_W       0xBE
     1268#define VK_OEM_2_W            0xBF
     1269#define VK_OEM_3_W            0xC0
     1270/*                          0xC1-0xDA  Unassigned */
     1271#define VK_OEM_4_W            0xDB
     1272#define VK_OEM_5_W            0xDC
     1273#define VK_OEM_6_W            0xDD
     1274#define VK_OEM_7_W            0xDE
     1275/*                          0xDF-0xE4  OEM specific */
     1276
     1277#define VK_PROCESSKEY_W       0xE5
     1278
     1279/*                          0xE6       OEM specific */
     1280/*                          0xE7-0xE8  Unassigned */
     1281/*                          0xE9-0xF5  OEM specific */
     1282
     1283#define VK_ATTN_W             0xF6
     1284#define VK_CRSEL_W            0xF7
     1285#define VK_EXSEL_W            0xF8
     1286#define VK_EREOF_W            0xF9
     1287#define VK_PLAY_W             0xFA
     1288#define VK_ZOOM_W             0xFB
     1289#define VK_NONAME_W           0xFC
     1290#define VK_PA1_W              0xFD
     1291#define VK_OEM_CLEAR_W        0xFE
     1292
     1293/**************************************************************/
     1294/* The following vkey definitions are undocumented in Windows */
     1295/**************************************************************/
     1296#define VK_SEMICOLON_W       0xBA
     1297#define VK_EQUAL_W           0xBB
     1298#define VK_COMMA_W           0xBC
     1299#define VK_HYPHEN_W          0xBD
     1300#define VK_PERIOD_W          0xBE
     1301#define VK_SLASH_W           0xBF
     1302#define VK_GRAVE_W           0xC0
     1303#define VK_BRACKETLEFT_W     0xDB
     1304#define VK_BACKSLASH_W       0xDC
     1305#define VK_BRACKETRIGHT_W    0xDD
     1306#define VK_QUOTESINGLE_W     0xDE
     1307#define VK_EXTRA_W           0xE2
Note: See TracChangeset for help on using the changeset viewer.