windows-nt/Source/XPSP1/NT/shell/ext/brfcase/filesync/linkinfo/nothunk.c
2020-09-26 16:20:57 +08:00

14 lines
624 B
C

#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 );
}