VirtualBox

Changeset 63036 in vbox for trunk/include


Ignore:
Timestamp:
Aug 5, 2016 11:42:25 AM (8 years ago)
Author:
vboxsync
Message:

More wrappers

Location:
trunk/include/iprt/nt
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nt/miniport.h

    r63034 r63036  
    11/** @file
    2  * Safe way to include ndis.h.
     2 * Safe way to include miniport.h.
    33 */
    44
     
    2525
    2626
    27 #ifndef ___iprt_nt_ndis_h___
    28 #define ___iprt_nt_ndis_h___
     27#ifndef ___iprt_nt_miniport_h___
     28#define ___iprt_nt_miniport_h___
     29
     30#include <iprt/cdefs.h>
    2931
    3032#ifdef _MSC_VER
    3133# pragma warning(push)
    32 # pragma warning(disable:4668) /* warning C4668: 'NDIS_WRAPPER' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */
     34# pragma warning(disable:4668) /* basetsd.h(114) : warning C4668: '__midl' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */
    3335#endif
    3436
    3537RT_C_DECLS_BEGIN
    36 #include <ndis.h>
     38#include <miniport.h>
    3739RT_C_DECLS_END
    3840
    39 #ifndef _MSC_VER
     41#ifdef _MSC_VER
    4042# pragma warning(pop)
    4143#endif
  • trunk/include/iprt/nt/ndis.h

    r63035 r63036  
    2828#define ___iprt_nt_ndis_h___
    2929
     30#include <iprt/cdefs.h>
     31
    3032#ifdef _MSC_VER
    3133# pragma warning(push)
  • trunk/include/iprt/nt/video.h

    r63035 r63036  
    11/** @file
    2  * Safe way to include ndis.h.
     2 * Safe way to include video.h (DDK).
    33 */
    44
     
    2525
    2626
    27 #ifndef ___iprt_nt_ndis_h___
    28 #define ___iprt_nt_ndis_h___
     27#ifndef ___iprt_nt_video_h___
     28#define ___iprt_nt_video_h___
     29
     30#include <iprt/cdefs.h>
    2931
    3032#ifdef _MSC_VER
    3133# pragma warning(push)
    32 # pragma warning(disable:4668) /* warning C4668: 'NDIS_WRAPPER' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */
     34# pragma warning(disable:4668) /* warning C4668: 'DBG' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */
    3335#endif
    3436
    35 RT_C_DECLS_BEGIN
    36 #include <ndis.h>
    37 RT_C_DECLS_END
     37#include <video.h>
    3838
    3939#ifdef _MSC_VER
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette