RtlCopyString

VOID __stdcall RtlCopyString(STRING *DestinationString, STRING *SourceString, STRING *a3){
  unsigned __int64 MaximumLength; 
  DestinationString->Length = 0;
  if( SourceString )
  {
    MaximumLength = DestinationString->MaximumLength;
    if( SourceString->Length <= MaximumLength )
      MaximumLength = SourceString->Length;
    DestinationString->Length = MaximumLength;
    memmove((UINT8 *)DestinationString->Buffer, (UINT8 *)SourceString->Buffer, MaximumLength);
  }
}

Referenced by:

No references.