NtMsg functions added