Create RtlInitEmptyUnicodeString

This commit is contained in:
vxunderground 2021-07-26 23:19:52 -05:00 committed by GitHub
parent d037cf8461
commit a7d8e3bdee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,6 @@
VOID RtlInitEmptyUnicodeString(PUNICODE_STRING UnicodeString, PWCHAR Buffer, USHORT BufferSize)
{
UnicodeString->Length = 0;
UnicodeString->MaximumLength = BufferSize;
UnicodeString->Buffer = Buffer;
}