RtlInitUnicodeStringEx
NTSTATUS __stdcall RtlInitUnicodeStringEx(_UNICODE_STRING *DestinationString, WCHAR *SourceString){
unsigned __int64 v2;
unsigned __int16 v3;
*(_QWORD *)&DestinationString->Length = 0i64;
DestinationString->Buffer = SourceString;
if( !SourceString )
return 0;
v2 = -1i64;
do
++v2;
while( SourceString[v2] );
if( v2 <= 0x7FFE )
{
v3 = 2 * v2;
DestinationString->Length = v3;
DestinationString->MaximumLength = v3 + 2;
return 0;
}
return -1073741562;
}Referenced by:
AslRegistryGetUInt32
AslRegistryOpenSubKey
BapdpProcessVsmKeyBlobs
CmClassFilterCallback
CmClassSubkeyCallback
CmDeleteCommonClassRegKeyWorker
CmDeleteDeviceContainerRegKeyWorker
CmDeleteDeviceInterfaceMappedPropertyFromRegValue
CmDeleteDeviceInterfaceRegKeyWorker
CmDeleteDeviceMappedPropertyFromDriverKeyRegValue
CmDeleteDeviceMappedPropertyFromInstanceKeyRegValue
CmDeleteDevicePanelRegKeyWorker
CmDeleteDeviceRegKeyWorker
CmDeleteInstallerClassMappedPropertyFromCoInstallers
CmDeleteInstallerClassMappedPropertyFromRegValue
CmDeleteInterfaceClassMappedPropertyFromRegValue
CmDeviceClassesSubkeyCallback
CmDevicePanelEnumSubkeyCallback
CmEnumSubkeyCallback
CmGetDeviceChildren
CmGetDeviceInterfaceClassGuid
CmGetDeviceInterfacePathFormat
CmGetDeviceInterfaceSubkeyPath
CmGetDeviceMappedPropertyFromComposite
CmGetDeviceMappedPropertyFromRegProp
CmGetDeviceParent
CmGetDeviceRegPropWorker
CmGetDeviceRelationsList
CmGetDeviceSoftwareKey
CmGetDeviceStatus
CmGetInstallerClassMappedPropertyFromCoInstallers
CmIsDeviceInterfaceEnabled
CmIsDevicePresent
CmIsRootDevice
CmIsRootEnumeratedDevice
CmOpenCommonClassRegKeyWorker
CmOpenDeviceContainerRegKeyWorker
CmOpenDeviceInterfaceRegKeyWorker
CmOpenDevicePanelRegKeyWorker
CmOpenDeviceRegKeyWorker
CmRemoveDeviceFromContainerWorker
CmRemovePanelDeviceWorker
CmServiceFilterCallback
CmSetDeviceRegPropWorker
CmSetInstallerClassRegPropWorker
CmSplitDevicePanelId
CmValidateDeviceInterfaceName
CmpAddDriverToList
CmpIsLoadType
CmpLoadManufacturingProfileNode
DrvDbDeleteObjectSubKey
DrvDbFindDatabaseNode
DrvDbGetObjectSubKeyCallback
DrvDbSetDeviceIdDriverInfMatches
DrvDbSetRegValueMappedProperty
IoGetDeviceDirectory
IoGetDeviceInterfaceAlias
IoRegisterDeviceInterface
IopCreateSecureDeviceClassSettings
IopDeviceInterfaceFilterCallback
IopDeviceObjectFromSymbolicName
IopGetDeviceInterfaces
IopGetRegistryValue
IopGetRootDevices
IopInitCrashDumpRegCallback
IopIsReportedAlready
IopProcessSetInterfaceState
IopUpdateSecureDeviceClassState
KGetAppModelStateSeparatedRegKeyPath
MfgInitSystem
NtApphelpCacheControl
ObpStopRuntimeStackTrace
PfpQueryFileExtentsRequest
PiCMCreateDevice
PiCMDeleteDevice
PiCMDeleteDeviceKey
PiCMDeviceAction
PiCMGenerateDeviceInstance
PiCMGetDeviceDepth
PiCMGetDeviceInterfaceAlias
PiCMGetDeviceInterfaceList
PiCMGetRelatedDeviceInstance
PiCMOpenClassKey
PiCMQueryRemove
PiCMSetObjectProperty
PiCMSetRegistryProperty
PiDcResetChildDeviceContainerCallback
PiDevCfgClearDeviceMigrationNode
PiDevCfgConfigureDeviceInterfaces
PiDevCfgCopyDeviceKey
PiDevCfgMigrateDevice
PiDevCfgQueryPolicyStringList
PiDevCfgResetDeviceDriverSettings
PiDeviceRegistration
PiGetStateRootPath
PiInitializeDevice
PiNormalizeDeviceText
PiPnpRtlEnumeratorFilterCallback
PiPnpRtlGetFilteredDeviceInterfaceList
PiPnpRtlGetFilteredDeviceList
PiPnpRtlServiceFilterCallback
PiSwGetChildPdo
PipCallDriverAddDevice
PipResetDevice
PnpCtxRegDeleteValue
PnpDeleteDeviceInterfaces
PnpDeletePropertyWorker
PnpDisableDeviceInterfaces
PnpGenerateDeviceIdsHash
PnpGetGenericStorePropertyKeys
PnpIsValidGuidString
PnpParseIndirectResourceString
PspIsDfssEnabled
PspReadIFEOPerfOptions
RegRtlCreateKeyTransacted
RegRtlOpenKeyTransacted
RegRtlQueryValue
RegRtlSetValue
RtlAppendUnicodeToString
RtlQueryImageFileKeyOption
RtlpProcessIFEOKeyFilter
VhdiGetVolumeNumber
VhdiInitializeBootDisk