Ignore:
Timestamp:
Sep 26, 2001, 5:52:37 AM (24 years ago)
Author:
bird
Message:

Updated to work for kKrnlLib.DLL and internally in kKrnlLib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/kKrnlLib/include/OS2KTK.h

    r6701 r6815  
    1 /* $Id: OS2KTK.h,v 1.1 2001-09-14 01:50:16 bird Exp $
     1/* $Id: OS2KTK.h,v 1.2 2001-09-26 03:52:37 bird Exp $
    22 *
    33 * OS2KTK - OS/2 Kernel Task.
     
    9898 */
    9999extern ULONG KRNLCALL   TKFuBuff(PVOID pv, PVOID pvUsr, ULONG cb, ULONG fl);
     100extern ULONG KRNLCALL   OrgTKFuBuff(PVOID pv, PVOID pvUsr, ULONG cb, ULONG fl);
    100101
    101102
     
    109110 */
    110111extern ULONG KRNLCALL   TKSuBuff(PVOID pvUsr, PVOID pv, ULONG cb, ULONG fl);
     112extern ULONG KRNLCALL   OrgTKSuBuff(PVOID pvUsr, PVOID pv, ULONG cb, ULONG fl);
    111113
    112114
     
    122124 */
    123125extern ULONG KRNLCALL   TKFuBufLen(PLONG pcch, PVOID pvUsr, ULONG cchMax, ULONG fl, BOOL fDblNULL);
     126extern ULONG KRNLCALL   OrgTKFuBufLen(PLONG pcch, PVOID pvUsr, ULONG cchMax, ULONG fl, BOOL fDblNULL);
    124127
    125128
     
    133136 */
    134137extern ULONG KRNLCALL   TKSuFuBuff(PVOID pvTarget, PVOID pvSource, ULONG cb, ULONG fl);
     138extern ULONG KRNLCALL   OrgTKSuFuBuff(PVOID pvTarget, PVOID pvSource, ULONG cb, ULONG fl);
    135139
    136140
     
    144148 */
    145149extern ULONG KRNLCALL   TKPidToPTDA(PID pid, PPPTDA ppPTDA);
     150extern ULONG KRNLCALL   OrgTKPidToPTDA(PID pid, PPPTDA ppPTDA);
    146151#endif
    147152
     
    165170 */
    166171extern ULONG KRNLCALL   TKScanTasks(ULONG flFlags, ULONG id, PTKSCANTASKWORKER pfnWorker, ULONG ulArg);
     172extern ULONG KRNLCALL   OrgTKScanTasks(ULONG flFlags, ULONG id, PTKSCANTASKWORKER pfnWorker, ULONG ulArg);
    167173#endif
    168174
     
    170176/**
    171177 * Post signal to one or more processes.
    172  * @returns  NO_ERROR on success.
    173  *           On error ERROR_NOT_DESCENDANT, ERROR_SIGNAL_REFUSED,
    174  *           ERROR_INVALID_PROCID, ERROR_ZOMBIE_PROCESS, ERROR_SIGNAL_PENDING. (it seems)
    175  * @param    usSignal       Signal number.
    176  * @param    usAction       Action.
    177  *                          0 - the process and all children.
    178  *                          1 - only the process
    179  *                          2 - the process and all it's descendants.
    180  *                          3 - all processes in that screen group.
    181  * @param    usSignalArg    Signal argument.
    182  * @param    usPIDSGR       Process Id or Screen Group Id.
     178 * @returns NO_ERROR on success.
     179 *          On error ERROR_NOT_DESCENDANT, ERROR_SIGNAL_REFUSED,
     180 *          ERROR_INVALID_PROCID, ERROR_ZOMBIE_PROCESS, ERROR_SIGNAL_PENDING. (it seems)
     181 * @param   usSignal       Signal number.
     182 * @param   usAction       Action.
     183 *                         0 - the process and all children.
     184 *                         1 - only the process
     185 *                         2 - the process and all it's descendants.
     186 *                         3 - all processes in that screen group.
     187 * @param   usSignalArg    Signal argument.
     188 * @param   usPIDSGR       Process Id or Screen Group Id.
     189 * @remark  Win32k Internal call.
    183190 */
    184191extern ULONG _Optlink POST_SIGNAL32(USHORT usSignal, USHORT usAction, USHORT usSignalArg, USHORT usPIDSGR);
     
    196203 */
    197204extern void KRNLCALL TKForceThread(ULONG flFlag, PTCB pTCB);
     205extern void KRNLCALL OrgTKForceThread(ULONG flFlag, PTCB pTCB);
    198206#endif
    199207
     
    207215 */
    208216extern void KRNLCALL  TKForceTask(ULONG flFlag, PPTDA pPTDA, BOOL fForce);
     217extern void KRNLCALL  OrgTKForceTask(ULONG flFlag, PPTDA pPTDA, BOOL fForce);
    209218#endif
    210219
     
    216225 */
    217226extern ULONG KRNLCALL TKGetPriority(PTCB pTCB);
     227extern ULONG KRNLCALL OrgTKGetPriority(PTCB pTCB);
    218228#endif
    219229
     
    231241 */
    232242extern ULONG KRNLCALL TKSleep(ULONG ulSleepId, ULONG ulTimeout, ULONG fUnInterruptable, ULONG flWakeupType);
     243extern ULONG KRNLCALL OrgTKSleep(ULONG ulSleepId, ULONG ulTimeout, ULONG fUnInterruptable, ULONG flWakeupType);
    233244
    234245/**
     
    242253 */
    243254extern ULONG KRNLCALL TKWakeup(ULONG ulSleepId, ULONG flWakeupType, PULONG cWakedUp);
     255extern ULONG KRNLCALL OrgTKWakeup(ULONG ulSleepId, ULONG flWakeupType, PULONG cWakedUp);
    244256
    245257#ifdef INCL_OS2KRNL_TCB
     
    251263 */
    252264extern ULONG KRNLCALL TKWakeThread(PTCB pTCB);
     265extern ULONG KRNLCALL OrgTKWakeThread(PTCB pTCB);
    253266#endif
    254267
     
    262275 */
    263276extern PTCB  KRNLCALL TKQueryWakeup(ULONG ulSleepId, ULONG flWakeupType);
    264 #endif
    265 
    266 #endif
     277extern PTCB  KRNLCALL OrgTKQueryWakeup(ULONG ulSleepId, ULONG flWakeupType);
     278#endif
     279
     280#endif
Note: See TracChangeset for help on using the changeset viewer.