WmipWaitForCollectionEnabled

VOID __stdcall WmipWaitForCollectionEnabled(tagGUIDENTRY *GuidEntry){
  if( (GuidEntry[4] & 8) == 0 )
  {
    KeInitializeEvent(*((_QWORD *)GuidEntry + 12), 0, 0);
    GuidEntry[4] |= 8u;
  }
  KeReleaseMutex((_KMUTANT *)((char *)&ExBootDevicesRemovedEvent + 3072), 0);
  KeWaitForSingleObject(*((_QWORD *)GuidEntry + 12), 0, 0, 0, 0i64);
  KeWaitForSingleObject((UINT64)&ExBootDevicesRemovedEvent + 3072, 0, 0, 0, 0i64);
}

Referenced by:

WmipSendEnableRequest