Ignore:
Timestamp:
Mar 13, 2001, 9:56:01 AM (24 years ago)
Author:
umoeller
Message:

Mistc. updates for WarpIN, new features.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/dosh.h

    r43 r46  
    442442     *      linear executable (LX) header format,
    443443     *      which comes after the DOS header in the
    444      *      EXE file (at DOSEXEHEADER.usNewHeaderOfs).
     444     *      EXE file (at DOSEXEHEADER.ulNewHeaderOfs).
    445445     */
    446446
     
    483483     *      linear executable (LX) header format,
    484484     *      which comes after the DOS header in the
    485      *      EXE file (at DOSEXEHEADER.usNewHeaderOfs).
     485     *      EXE file (at DOSEXEHEADER.ulNewHeaderOfs).
    486486     */
    487487
     
    542542    #pragma pack()
    543543
     544    /*
     545     *@@ FSYSMODULE:
     546     *
     547     *@@added V0.9.9 (2001-03-11) [lafaix]
     548     */
     549
     550    typedef struct _FSYSMODULE
     551    {
     552        CHAR achModuleName[128];
     553    } FSYSMODULE, *PFSYSMODULE;
     554
     555    /*
     556     *@@ FSYSFUNCTION:
     557     *
     558     *@@added V0.9.9 (2001-03-11) [lafaix]
     559     */
     560
     561    typedef struct _FSYSFUNCTION
     562    {
     563        ULONG ulOrdinal;
     564        ULONG ulType;
     565        CHAR achFunctionName[128];
     566    } FSYSFUNCTION, *PFSYSFUNCTION;
     567
     568    /*
     569     *@@ FSYSRESOURCE:
     570     *
     571     *@@added V0.9.7 (2000-12-18) [lafaix]
     572     */
     573
     574    typedef struct _FSYSRESOURCE
     575    {
     576        ULONG ulID;                     // resource ID
     577        ULONG ulType;                   // resource type
     578        ULONG ulSize;                   // resource size in bytes
     579        ULONG ulFlag;                   // resource flags
     580    } FSYSRESOURCE, *PFSYSRESOURCE;
     581
     582    // object/segment flags (in NE and LX)
     583    #define OBJWRITE         0x0002L    // Writeable Object
     584    #define OBJDISCARD       0x0010L    // Object is Discardable
     585    #define OBJSHARED        0x0020L    // Object is Shared
     586    #define OBJPRELOAD       0x0040L    // Object has preload pages
     587
     588    // resource flags
     589    #define RNMOVE           0x0010     // Moveable resource
     590    #define RNPURE           0x0020     // Pure (read-only) resource
     591    #define RNPRELOAD        0x0040     // Preloaded resource
     592    #define RNDISCARD        0xF000     // Discard priority level for resource
     593
    544594    // EXE format
    545595    #define EXEFORMAT_OLDDOS        1
     
    622672
    623673    APIRET doshExecQueryBldLevel(PEXECUTABLE pExec);
     674
     675    PFSYSRESOURCE doshExecQueryResources(PEXECUTABLE pExec,
     676                                         PULONG pcResources);
     677
     678    APIRET doshExecFreeResources(PFSYSRESOURCE paResources);
     679
     680    PFSYSMODULE doshExecQueryImportedModules(PEXECUTABLE pExec,
     681                                             PULONG pcModules);
     682
     683    APIRET doshExecFreeImportedModules(PFSYSMODULE paModules);
     684
     685    PFSYSFUNCTION doshExecQueryExportedFunctions(PEXECUTABLE pExec,
     686                                                 PULONG pcFunctions);
     687
     688    APIRET doshExecFreeExportedFunctions(PFSYSFUNCTION paFunctions);
    624689
    625690    /********************************************************************
Note: See TracChangeset for help on using the changeset viewer.