CmGetDeviceInterfacePathFormat
__int64 __fastcall CmGetDeviceInterfacePathFormat(__int64 a1, const WCHAR *a2, _BYTE *a3){
int inited;
struct _UNICODE_STRING DestinationString;
DestinationString = 0i64;
inited = CmValidateDeviceInterfaceName(a1, a2);
if( inited >= 0 )
{
inited = RtlInitUnicodeStringEx(&DestinationString, (WCHAR *)a2);
if( inited < 0 )
return(unsigned int)-1073741773;
if( (unsigned __int8)RtlPrefixUnicodeString((PVOID)&stru_140001F98, (INT64 *)&DestinationString) )
{
*a3 = 1;
return(unsigned int)inited;
}
if( !(unsigned __int8)RtlPrefixUnicodeString((PVOID)&stru_140001F88, (INT64 *)&DestinationString) )
return(unsigned int)-1073741773;
*a3 = 0;
}
return(unsigned int)inited;
}Referenced by:
IoGetDeviceInterfaceAlias