Author: greatlrd
Date: Sun Feb 10 21:37:31 2008
New Revision: 32270
URL:
http://svn.reactos.org/svn/reactos?rev=32270&view=rev
Log:
fix some more build issue for ks.h in trunk for ksfilter driver
Modified:
branches/reactx/reactos/include/dxsdk/ks.h
Modified: branches/reactx/reactos/include/dxsdk/ks.h
URL:
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/include/dxsdk/ks…
==============================================================================
--- branches/reactx/reactos/include/dxsdk/ks.h (original)
+++ branches/reactx/reactos/include/dxsdk/ks.h Sun Feb 10 21:37:31 2008
@@ -1870,7 +1870,9 @@
ULONG SemaphoreAdjustment;
ULONG Reserved;
ULONG Flags;
- } KSEVENT_ENTRY, *PKSEVENT_ENTRY;
+ } KSEVENT_ENTRY;
+
+ typedef struct _KSEVENT_ENTRY *PKSEVENT_ENTRY;
typedef struct
{
@@ -1913,9 +1915,7 @@
PFNDEREFERENCEDEVICEOBJECT DereferenceDeviceObject;
PFNQUERYREFERENCESTRING QueryReferenceString;
} BUS_INTERFACE_REFERENCE, *PBUS_INTERFACE_REFERENCE;
-
-
-
+
typedef VOID (*PFNKSITEMFREECALLBACK)( IN PKSOBJECT_CREATE_ITEM CreateItem );
typedef NTSTATUS (*PFNKSIRPLISTCALLBACK)( IN PIRP Irp, IN PVOID Context );
typedef NTSTATUS (*PFNQUERYMEDIUMSLIST)( IN PVOID Context, OUT ULONG* MediumsCount,
OUT PKSPIN_MEDIUM* MediumList);
@@ -2183,14 +2183,11 @@
}
#endif
-
-
typedef struct
{
INTERFACE Interface;
PFNQUERYMEDIUMSLIST QueryMediumsList;
} BUS_INTERFACE_MEDIUMS, *PBUS_INTERFACE_MEDIUMS;
-
struct KSAUTOMATION_TABLE_
{
@@ -2533,13 +2530,14 @@
#endif
#endif // end ntddk
-
#if defined(__cplusplus)
extern "C" {
#endif
#ifdef _KSDDK_
#define KSDDKAPI DECLSPEC_EXPORT
+ #undef NTAPI
+ #define NTAPI
#else
#define KSDDKAPI DECLSPEC_IMPORT
#endif
@@ -3671,9 +3669,6 @@
#endif
#endif
-
-
-
#if defined(__cplusplus)
}
#endif