mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
624 B
13 lines
624 B
#include "project.h"
|
|
|
|
// REARCHITECT - BobDay - This function needs to be added to KERNEL32. NOPE,
|
|
// according to markl we only need this because the critical section
|
|
// was located in shared memory. Possible solution here might be to create
|
|
// a named event or mutex and synchronize via it. Another possible solution
|
|
// might be to move each of the objects for which there is a critical section
|
|
// out of the shared memory segment and maintain a per-process data structure.
|
|
VOID WINAPI NoThunkReinitializeCriticalSection(
|
|
LPCRITICAL_SECTION lpCriticalSection
|
|
) {
|
|
InitializeCriticalSection( lpCriticalSection );
|
|
}
|