PnpSetHwProfileChangeEvent
INT64 __stdcall PnpSetHwProfileChangeEvent(
const _GUID *EventTypeGuid,
_KEVENT *CompletionEvent,
INT64 *CompletionStatus,
_PNP_VETO_TYPE *VetoType,
_UNICODE_STRING *VetoName){
_DWORD *DeviceEventEntry;
_GUID v11;
if( PnpShutdownEvent.Header.SignalState )
return 3221225865i64;
DeviceEventEntry = PnpCreateDeviceEventEntry(0xC0ui64);
if( !DeviceEventEntry )
return 3221225626i64;
DeviceEventEntry[32] = 0;
*((_QWORD *)DeviceEventEntry + 3) = CompletionEvent;
*((_QWORD *)DeviceEventEntry + 6) = VetoType;
*((_QWORD *)DeviceEventEntry + 7) = VetoName;
v11 = *EventTypeGuid;
DeviceEventEntry[37] = 80;
*((_QWORD *)DeviceEventEntry + 17) = CompletionStatus;
*((_GUID *)DeviceEventEntry + 7) = v11;
return PnpInsertEventInQueue((__int64)DeviceEventEntry);
}Referenced by:
PnpRequestHwProfileChangeNotification