TtmiWriteEnumerationEventsToQueue
__int64 __fastcall TtmiWriteEnumerationEventsToQueue(__int64 a1, __int64 a2){
int v4;
UINT64 v5;
INT64 v7;
_BYTE v8[544];
v4 = TtmiPublishDeviceEnumerationEvents(a1, a2);
if( v4 < 0 )
{
v5 = 2117i64;
LABEL_3:
TtmiLogError((INT8 *)"TtmiWriteEnumerationEventsToQueue", v5, (unsigned int)v4, (unsigned int)v4);
return(unsigned int)v4;
}
TtmpPublishDisplayRequiredPowerRequestEvents(a1, a2);
memset(&v8[4], 0i64, 0x21Cu);
*(_DWORD *)v8 = 1;
v4 = TtmiWriteEventToSingleQueue(a2, v8, v7);
if( v4 < 0 )
{
v5 = 2136i64;
goto LABEL_3;
}
return 0i64;
}Referenced by:
TtmpDispatchCreateEventQueue