RtlAppendUnicodeToString
NTSTATUS __stdcall RtlAppendUnicodeToString(_UNICODE_STRING *Destination, WCHAR *Source){
unsigned int Length;
wchar_t *v5;
_UNICODE_STRING v7;
if( !Source )
return 0;
v7 = 0i64;
if( RtlInitUnicodeStringEx(&v7, Source) >= 0 )
{
Length = v7.Length;
if( Destination->Length + (unsigned int)v7.Length <= Destination->MaximumLength )
{
v5 = &Destination->Buffer[(unsigned __int64)Destination->Length >> 1];
memmove(v5, Source, v7.Length);
Destination->Length += Length;
if( (unsigned int)Destination->Length + 1 < Destination->MaximumLength )
v5[(unsigned __int64)Length >> 1] = 0;
return 0;
}
}
return -1073741789;
}Referenced by:
AdtpBuildAccessReasonAuditStringInternal
AdtpBuildAccessesString
AdtpBuildReplacementString
AdtpBuildSidListString
AdtpBuildStagingReasonAuditStringInternal
AdtpBuildStringListString
AdtpBuildUserAccountControlString
AdtpFormatPrefix
ApiSetpConstructPathToExtension
AslRegistryBuildMachinePath
AslRegistryBuildUserPath
AslpProcessMatchRegNode
BiResolveLocateDevice
CmRealKCBToVirtualPath
CmpAddDriverToList
CmpBuildMachineHiveMountPoint
CmpFinishSystemHivesLoad
CmpFlushBackupHive
CmpGetVirtualizationID
CmpInitializeDriverStores
CmpInitializePreloadedHive
CmpInitializeSystemHivesLoad
CmpLoadHiveVolatile
CmpMountPreloadedHives
CmpOpenHiveFile
CmpOpenSystemDriverHiveContext
CmpQueryHiveRedirectionFileList
ExpWnfGetPermanentPerUserDataStoreHandle
IoReportDetectedDevice
IoReportRootDevice
IoWMISuggestInstanceName
IopBuildGlobalSymbolicLinkString
IopFileUtilWalkDirectoryTreeHelper
IopGetDriverNameFromKeyNode
IopLoadDriver
IopSafebootDriverLoad
IopSymlinkRememberJunction
KsepEvntLogShimsApplied
LdrpGetResourceFileName
MmCallDllInitialize
OpenGlobalizationUserSettingsKey_ForMua
PiDrvDbCreateNode
PiDrvDbSetupNodeHive
PiLastGoodRevertLastKnownDirectory
PnpBuildCmResourceList
RtlFormatCurrentUserKeyPath
RtlpConstructCrossVmObjectPath
RtlpGetRegistryHandle
RtlpGetTokenNamedObjectPath
SdbResolveDatabaseEx
VrpBuildKeyPath
VrpPreLoadKey
pIoQueryBusDescription
pIoQueryDeviceDescription