windows-nt/Source/XPSP1/NT/shell/ext/brfcase/filesync/linkinfo/nothunk.c

14 lines
624 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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 );
}