RtlStringFromGUIDEx
INT64 __fastcall RtlStringFromGUIDEx(const _GUID *const Guid, _UNICODE_STRING *GuidString, UINT8 Allocate){
wchar_t *StringRoutine;
unsigned __int16 MaximumLength;
if( Allocate )
{
GuidString->MaximumLength = 78;
StringRoutine = (wchar_t *)ExpAllocateStringRoutine(0x4Eui64);
GuidString->Buffer = StringRoutine;
if( StringRoutine )
{
MaximumLength = GuidString->MaximumLength;
LABEL_4:
GuidString->Length = 76;
swprintf_s(
GuidString->Buffer,
(unsigned __int64)MaximumLength >> 1,
(WCHAR *)L"{%08lx-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}");
return 0i64;
}
return 3221225495i64;
}
else
{
MaximumLength = GuidString->MaximumLength;
if( MaximumLength >= 0x4Eu )
goto LABEL_4;
return 3221225507i64;
}
}Referenced by:
BapdpMarshallBootDataToRegistry
BcdGetElementDataWithFlags
BcdOpenObject
BiConvertElementToRegistryData
BiCreateObject
BiUpdateObjectReferenceInEfiEntry
CmpAddRemoveRMLogContainer
CmpRecoverEnlistment
CmpStartRMLog
ConvertDevpropcompkeyToString
ExpCreateOutputSIGNATURE
ExpTranslateEfiPath
IoGetDeviceDirectory
IopCreateSecureDeviceClassSettings
IopUpdateSecureDeviceClassState
KsepEvntLogShimsApplied
PiDevCfgLogDeviceConfigured
PiDevCfgQueryDriverConfiguration
PiDevCfgResetDeviceDriverSettings
PiDevCfgResolveVariableDeviceProperty
PiDevCfgResolveVariableGenerateGuid
PipGenerateContainerID
PipInitComputerIds
PopSetNewPolicyValue
PpDevCfgProcessDeviceReset
RtlStringFromGUID
RtlpConstructCrossVmObjectPath
VrpPreLoadKey