PiUEventHashStringIntoBucket
UINT64 __stdcall PiUEventHashStringIntoBucket(PWCHAR InputString){
WCHAR v1;
struct _UNICODE_STRING DestinationString;
UINT64 HashValue;
LODWORD(HashValue) = 0;
DestinationString = 0i64;
RtlInitUnicodeString(&DestinationString, InputString, v1);
RtlHashUnicodeString(&DestinationString, 1u, 0i64, &HashValue);
return(unsigned int)HashValue % 0xD;
}Referenced by:
PiUEventHandleRegistration
PiUEventNotifyDeviceInstanceChange
PiUEventNotifyDeviceInstancePropertyChange
PiUEventNotifyTargetDeviceChange