WmipDoDisableRequest

UINT64 __stdcall WmipDoDisableRequest(tagGUIDENTRY *GuidEntry, UINT8 IsEvent, UINT64 InProgressFlag){
  int v3; 
  UINT8 v6; 
  unsigned int v7; 
  tagGUIDENTRY v8; 

  v3 = InProgressFlag;
  v6 = IsEvent != 0 ? 5 : 7;
  do
  {
    v7 = WmipSendEnableDisableRequest(v6, GuidEntry, IsEvent);
    if( IsEvent )
      v8 = GuidEntry[22];
    else
      v8 = GuidEntry[23];
    if( !v8 )
      break;
    v7 = WmipSendEnableDisableRequest(IsEvent != 0 ? 4 : 6, GuidEntry, IsEvent);
  }
  while( !(IsEvent ? GuidEntry[22] : GuidEntry[23]) );
  GuidEntry[4] &= ~v3;
  if( !IsEvent )
    WmipReleaseCollectionEnabled(GuidEntry);
  return v7;
}

Referenced by:

WmipDisableCollectionForRemovedGuid
WmipEnableCollectionForNewGuid
WmipSendDisableRequest