Mercurial > mplayer.hg
comparison vidix/sysdep/libdha_win32.c @ 33627:d9cf7500b0d8
vidix: Replace IsWinNT() forward declaration by a proper header.
author | diego |
---|---|
date | Thu, 23 Jun 2011 22:52:09 +0000 |
parents | 9d1734a75102 |
children |
comparison
equal
deleted
inserted
replaced
33626:a621fd1e93ae | 33627:d9cf7500b0d8 |
---|---|
21 */ | 21 */ |
22 | 22 |
23 #include <windows.h> | 23 #include <windows.h> |
24 #include <ddk/ntddk.h> | 24 #include <ddk/ntddk.h> |
25 #include "vidix/dhahelperwin/dhahelper.h" | 25 #include "vidix/dhahelperwin/dhahelper.h" |
26 #include "libdha_win32.h" | |
26 | 27 |
27 /* | 28 /* |
28 This is the request structure that applications use | 29 This is the request structure that applications use |
29 to request services from the MAPDEV VxD. | 30 to request services from the MAPDEV VxD. |
30 */ | 31 */ |
46 #define MDR_STATUS_ERROR 0 | 47 #define MDR_STATUS_ERROR 0 |
47 /*#include "winioctl.h"*/ | 48 /*#include "winioctl.h"*/ |
48 #define FILE_DEVICE_UNKNOWN 0x00000022 | 49 #define FILE_DEVICE_UNKNOWN 0x00000022 |
49 #define METHOD_NEITHER 3 | 50 #define METHOD_NEITHER 3 |
50 | 51 |
51 | |
52 int IsWinNT(void); | |
53 | 52 |
54 int IsWinNT(void) { | 53 int IsWinNT(void) { |
55 OSVERSIONINFO OSVersionInfo; | 54 OSVERSIONINFO OSVersionInfo; |
56 OSVersionInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); | 55 OSVersionInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); |
57 GetVersionEx(&OSVersionInfo); | 56 GetVersionEx(&OSVersionInfo); |