PnpStringFromGuid

NTSTATUS __fastcall PnpStringFromGuid(const _GUID *Guid, WCHAR *GuidString, UINT64 GuidStringLength){
  UINT64 dwFlags; 

  LODWORD(dwFlags) = 2048;
  return RtlStringCchPrintfExW(
           GuidString,
           0x27ui64,
           0i64,
           0i64,
           dwFlags,
           (WCHAR *)L"{%08lx-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}");
}

Referenced by:

CmBuildDevicePanelId
CmSetDeviceMappedPropertyFromRegProp
IoGetDeviceInterfaceAlias
IopGetDeviceInterfaces
IopRegisterDeviceInterface
PiDcHandleDeviceEvent
PiDcHandleInterfaceEvent
PiDmCacheDataEncode
PiDmGetReferencedObjectFromProperty
PiDmListInitEnumCallback
PiDmObjectGetCachedCmProperty
PiPnpRtlGatherInstallerClassChangeInfo
PiPnpRtlGatherInterfaceDeleteInfo
PiSwPdoPnPDispatch
PipCreateComputerId
PnpDeviceRaisePropertyChangeEventWorker