reactos/reactos/sdk/lib/rtl
Dmitry Chapyshev f648131f93 [RTL] Add missed IN/OUT/OPTIONAL/PAGED_CODE_RTL
svn path=/trunk/; revision=72687
2016-09-15 19:35:59 +00:00
..
amd64
arm
i386
powerpc
access.c
acl.c [RTL] 2016-05-22 22:11:54 +00:00
actctx.c [RTL] Partially sync actctx.c with Wine Staging 1.9.16. CORE-11866 2016-09-03 10:46:01 +00:00
appverifier.c
assert.c
atom.c
avlsupp.c
avltable.c
bitmap.c
bitmap64.c
bootdata.c
byteswap.c
CMakeLists.txt
compress.c
condvar.c
crc32.c
critical.c
dbgbuffer.c
debug.c
dos8dot3.c [RTL] 2016-09-14 00:31:30 +00:00
encode.c
env.c
error.c [NTDLL] 2016-07-02 20:37:35 +00:00
exception.c
generictable.c
handle.c
heap.c
heap.h
heapdbg.c
heappage.c
heapuser.c
image.c
interlck.c
largeint.c
luid.c
mem.c
memstream.c
message.c
network.c
nls.c [RTL] Add missed IN/OUT/OPTIONAL/PAGED_CODE_RTL 2016-09-15 19:35:59 +00:00
path.c
ppb.c
prefix.c
priv.c
process.c [RTL]: Follow what I guess might be Alex' coding standards. 2016-07-05 00:38:28 +00:00
propvar.c
random.c
rangelist.c
readme.txt
registry.c
res.c
resource.c
rtl.h
rtlavl.h
rtlp.h
rxact.c
sd.c
security.c [RTL] 2016-06-27 22:25:17 +00:00
sid.c
slist.c
splaytree.c
srw.c
thread.c
time.c [RTL]: Code styling modifications only: 2016-07-04 20:40:45 +00:00
timerqueue.c
timezone.c
trace.c
unicode.c [RTL] 2016-09-05 19:14:22 +00:00
unicodeprefix.c
vectoreh.c
version.c [RTL] 2016-08-30 16:28:47 +00:00
wait.c
workitem.c

RTL restrictions:

ExAllocatePool (and friends) must be used exclusively. RtlAllocateHeap (and friends) must NOT be used! ExAllocatePool (and friends) translate to RtlAllocateHeap (and friends) in ntdll\rtl\libsupp.c.

RtlEnterCriticalSection (and friends) must be used exclusively. ExAcquireFastMutex (and friends) must NOT be used! RtlEnterCriticalSection (and friends) translate to ExAcquireFastMutex (and friends) in ntoskrnl\rtl\libsupp.c. This means that RtlEnterCriticalSection (and friends) can NOT be used recursively in RTL. The reason for choosing RtlEnterCriticalSection (and friends) over ExAcquireFastMutex (and friends) is that the FAST_MUTEX struct is smaller than the RTL_CRITICAL_SECTION struct.