Changeset 41


Ignore:
Timestamp:
May 7, 2023, 9:38:20 PM (2 years ago)
Author:
gyoung
Message:

REM out function redefinition (it is defined in BSEDOS.H). Fix a struct declaration.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/classes/c/c_common/except.c

    r2 r41  
    137137                                    ULONG *pOffset,
    138138                                    PVOID Address );
    139 APIRET APIENTRY DosQueryModFromEIP( HMODULE *phMod,
     139/*APIRET APIENTRY DosQueryModFromEIP( HMODULE *phMod,
    140140                                    ULONG *pObjNum,
    141141                                    ULONG BuffLen,
    142142                                    PCHAR pBuff,
    143143                                    ULONG *pOffset,
    144                                     PVOID Address );
     144                                    PVOID Address );*/
    145145
    146146/*-------------------------------------*/
     
    206206}qsGrec_t;
    207207
     208#define PADSHORT        USHORT        pad_sh
     209#define PADCHAR         UCHAR         pad_ch
     210
    208211/* Thread Record structure *   Holds all per thread information. */
    209212typedef struct qsTrec_s {
     
    217220    ULONG     usertime;   /* thread user time */
    218221    UCHAR     state;      /* thread state */
    219     UCHAR     PADCHAR;
    220     USHORT    PADSHORT;
     222    PADCHAR;
     223    PADSHORT;
    221224} qsTrec_t;
    222225
  • trunk/mediafolder/c/helper/except.cpp

    r2 r41  
    134134                                    ULONG *pOffset,
    135135                                    PVOID Address );
    136 APIRET APIENTRY DosQueryModFromEIP( HMODULE *phMod,
     136/*APIRET APIENTRY DosQueryModFromEIP( HMODULE *phMod,
    137137                                    ULONG *pObjNum,
    138138                                    ULONG BuffLen,
    139139                                    PCHAR pBuff,
    140140                                    ULONG *pOffset,
    141                                     PVOID Address );
     141                                    PVOID Address );*/
    142142
    143143/*-------------------------------------*/
     
    203203}qsGrec_t;
    204204
     205#define PADSHORT        USHORT        pad_sh
     206#define PADCHAR         UCHAR         pad_ch
     207
    205208/* Thread Record structure *   Holds all per thread information. */
    206209typedef struct qsTrec_s {
     
    214217    ULONG     usertime;   /* thread user time */
    215218    UCHAR     state;      /* thread state */
    216     UCHAR     PADCHAR;
    217     USHORT    PADSHORT;
     219    PADCHAR;
     220   PADSHORT;
    218221} qsTrec_t;
    219222
Note: See TracChangeset for help on using the changeset viewer.