Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

eballoc.c File Reference

#include "ntrtlp.h"
#include <nturtl.h>

Go to the source code of this file.

Typedefs

typedef VOID(* PEB_LOCK_ROUTINE )(PVOID FastLock)

Functions

VOID RtlAcquirePebLock (VOID)
VOID RtlReleasePebLock (VOID)


Typedef Documentation

typedef VOID(* PEB_LOCK_ROUTINE)(PVOID FastLock)
 

Definition at line 29 of file eballoc.c.

Referenced by RtlAcquirePebLock(), and RtlReleasePebLock().


Function Documentation

VOID RtlAcquirePebLock VOID   ) 
 

Definition at line 32 of file eballoc.c.

References ASSERT, PEB_LOCK_ROUTINE, and RTL_PAGED_CODE.

Referenced by RtlCreateEnvironment(), RtlCreateProcessParameters(), RtlDosPathNameToNtPathName_U(), RtlGetCurrentDirectory_U(), RtlGetFullPathName_Ustr(), RtlQueryEnvironmentVariable_U(), RtlSetCurrentDirectory_U(), RtlSetCurrentEnvironment(), and RtlSetEnvironmentVariable().

00033 { 00034 PEB_LOCK_ROUTINE LockRoutine; 00035 PPEB Peb; 00036 00037 RTL_PAGED_CODE(); 00038 00039 Peb = NtCurrentPeb(); 00040 00041 LockRoutine = (PEB_LOCK_ROUTINE)Peb->FastPebLockRoutine; 00042 ASSERT(LockRoutine); 00043 (LockRoutine)(Peb->FastPebLock); 00044 }

VOID RtlReleasePebLock VOID   ) 
 

Definition at line 47 of file eballoc.c.

References ASSERT, PEB_LOCK_ROUTINE, and RTL_PAGED_CODE.

Referenced by RtlCreateEnvironment(), RtlCreateProcessParameters(), RtlDosPathNameToNtPathName_U(), RtlGetCurrentDirectory_U(), RtlGetFullPathName_Ustr(), RtlQueryEnvironmentVariable_U(), RtlSetCurrentDirectory_U(), RtlSetCurrentEnvironment(), and RtlSetEnvironmentVariable().

00048 { 00049 PEB_LOCK_ROUTINE LockRoutine; 00050 PPEB Peb; 00051 00052 RTL_PAGED_CODE(); 00053 00054 Peb = NtCurrentPeb(); 00055 00056 LockRoutine = (PEB_LOCK_ROUTINE)Peb->FastPebUnlockRoutine; 00057 ASSERT(LockRoutine); 00058 (LockRoutine)(Peb->FastPebLock); 00059 }


Generated on Sat May 15 19:43:31 2004 for test by doxygen 1.3.7