Article ID: 259693 - View products that this article applies to.
This article was previously published under Q259693
Most Kernel Mode API functions return NTSTATUS values. To translate these status values to messages by using the FormatMessage API function, you must reference the NtDLL.dll module in the parameter list.
The following code sample demonstrates how to obtain the system message string.
NTSTATUS values are defined in the Ntstatus.h header file that is included in the Windows NT and Windows 2000 DDK.
Article ID: 259693 - Last Review: June 29, 2005 - Revision: 3.0