On 2017-06-09 05:14, tthompson@svn.reactos.org wrote:
- RtlZeroMemory(&FilenameNoPath, sizeof(UNICODE_STRING));
- FilenameNoPath.Buffer = Buffer;
- FilenameNoPath.MaximumLength = MAX_PATH;
RtlInitEmptyUnicodeString does this for you
On 2017-06-09 05:14, tthompson@svn.reactos.org wrote:
- FileNameAttribute->NameLength = FilenameNoPath.Length / 2;
sizeof(WCHAR)?