Closed Buntu0001 closed 3 years ago
VOID RtlInitUnicodeString( PUNICODE_STRING DestinationString, __drv_aliasesMem PCWSTR SourceString ); WCHAR path[MAX_PATH] = L"\\??\\\\C:\\Users\\Buntu\\Desktop\\test.txt"; PUNICODE_STRING punicodeString; INLINE_SYSCALL(RtlInitUnicodeString)(punicodeString, path);
Ntapi with return type NTSTATUS works well, but ntapi with void does not work.
RtlInitUnicodeString is not a syscall.
RtlInitUnicodeString
IIRC there indeed are a few syscalls that don't return NTSTATUS, but they are from win32k and I doubt there is much interest in them.
thank you.
Ntapi with return type NTSTATUS works well, but ntapi with void does not work.