wcscpy_s
NTSTATUS __stdcall wcscpy_s(PWCHAR Dst, UINT64 SizeInWords, PWCHAR Src){
NTSTATUS v4;
signed __int64 v5;
wchar_t v6;
if( Dst && SizeInWords )
{
if( !Src )
{
v4 = 22;
LABEL_10:
*Dst = 0;
xHalTimerWatchdogStop(0i64, 0i64);
return v4;
}
v5 = (char *)Dst - (char *)Src;
do
{
v6 = *Src;
*(PWCHAR)((char *)Src + v5) = *Src;
++Src;
if( !v6 )
break;
--SizeInWords;
}
while( SizeInWords );
if( !SizeInWords )
{
v4 = 34;
goto LABEL_10;
}
return 0;
}
else
{
xHalTimerWatchdogStop(0i64, 0i64);
return 22;
}
}Referenced by:
AslPathToNetworkPathNt
BcdGetSystemStorePath
BgpFwLibraryInitialize
BiConvertBootEnvironmentDeviceToNt
BiConvertNtDeviceToBootEnvironment
BiCreateFileDeviceElement
CmDeleteKeyRecursive
CmpCreateHwProfileFriendlyName
ExpConvertArcName
ExpCreateOutputARC
ExpCreateOutputNT
ExpCreateOutputSIGNATURE
ExpFindArcName
ExpParseArcPathName
ExpTranslateEfiPath
ExpWatchLicenseInfoWork
ExpWatchProductTypeInitialization
HalGetEnvironmentVariableEx
HalSetEnvironmentVariableEx
HalpQueryDebuggerInformation
HalpQueryProfileSourceList
HalpRegisterDeviceInUse
HdlspKernelAddLogEntry
LocalConvertAclToString
LocalConvertSDToStringSD_Rev1
LocalGetStringForControl
LocalGetStringForSid
NtLockProductActivationKeys
PnprGetPluginDriverImagePath
RtlConvertSidToUnicodeString