Changeset 44 for trunk/include


Ignore:
Timestamp:
Mar 8, 2001, 8:28:45 PM (24 years ago)
Author:
umoeller
Message:

Misc. changes.

Location:
trunk/include/helpers
Files:
3 edited

Legend:

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

    r41 r44  
    658658     ********************************************************************/
    659659
    660     BOOL prc16QueryProcessInfo(USHORT usPID, PPRCPROCESS pprcp);
     660    BOOL prc16QueryProcessInfo(PQPROCSTAT16 pps, USHORT usPID, PPRCPROCESS pprcp);
    661661
    662662    ULONG prc16ForEachProcess(PFNWP pfnwpCallback, HWND hwnd, ULONG ulMsg, MPARAM mp1);
    663663
    664     ULONG prc16QueryThreadCount(USHORT usPID);
    665 
    666     BOOL prc16QueryThreadInfo(USHORT usPID, USHORT usTID, PPRCTHREAD pprct);
    667 
    668     ULONG prc16QueryThreadPriority(USHORT usPID, USHORT usTID);
     664    ULONG prc16QueryThreadCount(PQPROCSTAT16 pps, USHORT usPID);
     665
     666    BOOL prc16QueryThreadInfo(PQPROCSTAT16 pps, USHORT usPID, USHORT usTID, PPRCTHREAD pprct);
     667
     668    ULONG prc16QueryThreadPriority(PQPROCSTAT16 pps, USHORT usPID, USHORT usTID);
    669669
    670670    /********************************************************************
  • trunk/include/helpers/threads.h

    r41 r44  
    4747            void*   pThreadFunc;    // as passed to thrCreate, really a PTHREADFUNC
    4848            PBOOL   pfRunning;      // as passed to thrCreate
     49            const char *pcszThreadName; // as passed to thrCreate
    4950            ULONG   flFlags;        // as passed to thrCreate
    5051            ULONG   ulData;         // as passed to thrCreate
     
    7172                    PTHREADFUNC pfn,
    7273                    PBOOL pfRunning,
     74                    const char *pcszThreadName,
    7375                    ULONG flFlags,
    7476                    ULONG ulData);
     
    7678    ULONG thrRunSync(HAB hab,
    7779                     PTHREADFUNC pfn,
     80                     const char *pcszThreadName,
    7881                     ULONG ulData);
     82
     83    PTHREADINFO thrListThreads(PULONG pcThreads);
     84
     85    BOOL thrFindThread(PTHREADINFO pti,
     86                       ULONG tid);
    7987
    8088    BOOL thrClose(PTHREADINFO pti);
  • trunk/include/helpers/timer.h

    r41 r44  
    4343        USHORT      idPMTimer;          // ID of main PM timer
    4444        USHORT      idPMTimerRunning;   // if != 0, PM timer is running
     45        ULONG       ulPMTimeout;        // current PM timeout; if 0, recalculation
     46                                        // is needed.
    4547        PVOID       pvllXTimers;        // linked list of current XTIMER structures, auto-free
    4648    } XTIMERSET, *PXTIMERSET;
Note: See TracChangeset for help on using the changeset viewer.