RtlAppendUnicodeStringToString
The RtlAppendUnicodeStringToString routine concatenates two Unicode strings.
NTSTATUS
RtlAppendUnicodeStringToString(
IN OUT PUNICODE_STRING Destination ,
IN PUNICODE_STRING Source
);
- Pointer to a buffered Unicode string. Source
- Pointer to the buffered string to be concatenated.
Parameters
DestinationReturn Value
RtlAppendUnicodeStringToString can return one of the following:
-
STATUS_SUCCESS
- The source string was successfully appended to the destination counted string. The destination string length is updated to include the appended bytes. STATUS_BUFFER_TOO_SMALL
- The destination string length is too small to allow the source string to be concatenated. Accordingly, the destination string length is not updated.
Comments
RtlAppendUnicodeStringToString copies bytes from the source up to the length of the destination buffer.
The Destination and Source buffers must be resident if the caller is running at IRQL >= DISPATCH_LEVEL.
Requirements
IRQL: See Comments section.
Headers: Declared in Wdm.h . Include Wdm.h , Ntddk.h, or Ntifs.h .
本文深入探讨了RtlAppendUnicodeStringToString函数的功能、参数、返回值及使用注意事项,详细介绍了如何在Windows系统中进行字符串连接操作。
4421

被折叠的 条评论
为什么被折叠?



