阅读:1490回复:3
关于判断Windows的版本
在driver中如何判断Windows的版本??
多谢 |
|
|
沙发#
发布于:2002-06-14 11:22
有一个宏
_WIN32_WINNT 不同版本的WINDOWS 它的值不同. |
|
板凳#
发布于:2002-06-14 11:54
有一个宏 嘿嘿。。。。。。。。 |
|
|
地板#
发布于:2002-06-14 12:00
RtlGetVersion
NTSTATUS RtlGetVersion( IN OUT PRTL_OSVERSIONINFOW lpVersionInformation ); RtlGetVersion returns version information about the currently running operating system. Parameters lpVersionInformation Pointer to either a RTL_OSVERSIONINFOW structure or a RTL_OSVERSIONINFOEXW structure that contains the version information about the currently running operating system. A caller specifies which input structure is used by setting the dwOSVersionInfoSize member of the structure to the size in bytes of the structure that is used. |
|