- Revert useless commit:

* No need to copy stuff from DDK, it's prohibited (#define _INC_NEWDEV)
 * #pragma was put there especially, and no reason to remove it was said
 * pushpack / poppack does not do anything if there are no structs definitions

svn path=/trunk/; revision=26210
This commit is contained in:
Aleksey Bragin 2007-03-30 15:39:27 +00:00
parent dedbc24d60
commit 1f9a18b920

View file

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