fixing newdev.h compatible with DDK version 3790.1830

it did not have #include <pshpack1.h>  and #include <poppack.h>

svn path=/trunk/; revision=26203
This commit is contained in:
Magnus Olsen 2007-03-30 08:47:54 +00:00
parent 0772fa79b5
commit b18be77063

View file

@ -20,13 +20,10 @@
* *
*/ */
#ifndef __NEWDEV_H #ifndef _INC_NEWDEV
#define __NEWDEV_H #define _INC_NEWDEV
#if __GNUC__ >=3
#pragma GCC system_header
#endif
#include <pshpack1.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -45,6 +42,8 @@ UpdateDriverForPlugAndPlayDevicesA(
DWORD InstallFlags, DWORD InstallFlags,
PBOOL bRebootRequired OPTIONAL); PBOOL bRebootRequired OPTIONAL);
BOOL WINAPI BOOL WINAPI
UpdateDriverForPlugAndPlayDevicesW( UpdateDriverForPlugAndPlayDevicesW(
HWND hwndParent, HWND hwndParent,
@ -63,4 +62,6 @@ UpdateDriverForPlugAndPlayDevicesW(
} }
#endif #endif
#include <poppack.h>
#endif /* __NEWDEV_H */ #endif /* __NEWDEV_H */