VOID CloseThreadpoolCleanupGroup(PTP_CLEANUP_GROUP ptpcg) { #ifdef _WIN32 module_init(); if (pCloseThreadpoolCleanupGroup) pCloseThreadpoolCleanupGroup(ptpcg); #else free(ptpcg); #endif }
VOID CloseThreadpoolCleanupGroup(PTP_CLEANUP_GROUP ptpcg) { #ifdef _WIN32 InitOnceExecuteOnce(&init_once_module, init_module, NULL, NULL); if (pCloseThreadpoolCleanupGroup) { pCloseThreadpoolCleanupGroup(ptpcg); return; } #endif free(ptpcg); }