gPTP - replace SRWLOCK and CONDITION_VARIABLE in WindowsCondition with event