Hey All. Atm im working with native API calls and i have to get RtlInitUnicodeString to work. The way i use:
const WCHAR wcMutex[] = L"String1";
UNICODE_STRING unicodeMutexBuffer;
RtlInitUnicodeString(&unicodeMutexBuffer,wcMutex);
now my problem the project doesnt compile , i get this error:
Error argument of type "UNICODE_STRING*" is incompatible with type of "PUNICODE_STRING"
but in my old Driver kit , i used same way to initialize the unicode string struct