Ignore:
Timestamp:
Nov 30, 1999, 3:19:03 PM (26 years ago)
Author:
sandervl
Message:

Added process api + virtualprotect fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/wprocess.h

    r1222 r1885  
    1 /* $Id: wprocess.h,v 1.9 1999-10-09 13:31:44 sandervl Exp $ */
     1/* $Id: wprocess.h,v 1.10 1999-11-30 14:19:02 sandervl Exp $ */
    22/*
    33 * Process help functions
     
    1515
    1616#ifndef OS2_INCLUDED
    17 #include <winprocess.h>
     17#include <win\process.h>
    1818#endif
    1919#include <thread.h>
     
    3333extern DWORD  *TIBFlatPtr;
    3434
     35extern PDB ProcessPDB;
     36
     37#define NtCurrentTeb GetThreadTEB
    3538TEB  *WIN32API GetThreadTEB();
    3639THDB *WIN32API GetThreadTHDB();
    3740
     41inline PDB * WINE_UNUSED PROCESS_Current(void)
     42{
     43    return NtCurrentTeb()->process;
     44}
     45
    3846#endif
Note: See TracChangeset for help on using the changeset viewer.