IFNDEF KS_INC
KS_INC equ <1>

PROTO64 external,KoCreateInstance, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KoDeviceInitialize, :QWORD
PROTO64 external,KoDriverInitialize, :QWORD,:QWORD,:QWORD
PROTO64 external,KoRelease, :QWORD
PROTO64 external,KsAcquireControl, :QWORD
PROTO64 external,KsAcquireDevice, :QWORD
PROTO64 external,KsAcquireDeviceSecurityLock, :QWORD,:QWORD
PROTO64 external,KsAcquireResetValue, :QWORD,:QWORD
PROTO64 external,KsAddDevice, :QWORD,:QWORD
PROTO64 external,KsAddEvent, :QWORD,:QWORD
PROTO64 external,KsAddIrpToCancelableQueue, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsAddItemToObjectBag, :QWORD,:QWORD,:QWORD
PROTO64 external,KsAddObjectCreateItemToDeviceHeader, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsAddObjectCreateItemToObjectHeader, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsAllocateDefaultClock, :QWORD
PROTO64 external,KsAllocateDefaultClockEx, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsAllocateDeviceHeader, :QWORD,:QWORD,:QWORD
PROTO64 external,KsAllocateExtraData, :QWORD,:QWORD,:QWORD
PROTO64 external,KsAllocateObjectBag, :QWORD,:QWORD
PROTO64 external,KsAllocateObjectCreateItem, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsAllocateObjectHeader, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsCacheMedium, :QWORD,:QWORD,:QWORD
PROTO64 external,KsCancelIo, :QWORD,:QWORD
PROTO64 external,KsCancelRoutine, :QWORD,:QWORD
PROTO64 external,KsCompletePendingRequest, :QWORD
PROTO64 external,KsCopyObjectBagItems, :QWORD,:QWORD
PROTO64 external,KsCreateAllocator, :QWORD,:QWORD,:QWORD
PROTO64 external,KsCreateBusEnumObject, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsCreateClock, :QWORD,:QWORD,:QWORD
PROTO64 external,KsCreateDefaultAllocator, :QWORD
PROTO64 external,KsCreateDefaultAllocatorEx, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsCreateDefaultClock, :QWORD,:QWORD
PROTO64 external,KsCreateDefaultSecurity, :QWORD,:QWORD
PROTO64 external,KsCreateDevice, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsCreateFilterFactory, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsCreatePin, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsCreateTopologyNode, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsDecrementCountedWorker, :QWORD
PROTO64 external,KsDefaultAddEventHandler, :QWORD,:QWORD,:QWORD
PROTO64 external,KsDefaultDeviceIoCompletion, :QWORD,:QWORD
PROTO64 external,KsDefaultDispatchPnp, :QWORD,:QWORD
PROTO64 external,KsDefaultDispatchPower, :QWORD,:QWORD
PROTO64 external,KsDefaultForwardIrp, :QWORD,:QWORD
PROTO64 external,KsDereferenceBusObject, :QWORD
PROTO64 external,KsDereferenceSoftwareBusObject, :QWORD
PROTO64 external,KsDeviceGetBusData, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsDeviceRegisterAdapterObject, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsDeviceSetBusData, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsDisableEvent, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsDiscardEvent, :QWORD
PROTO64 external,KsDispatchFastIoDeviceControlFailure, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsDispatchFastReadFailure, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsDispatchInvalidDeviceRequest, :QWORD,:QWORD
PROTO64 external,KsDispatchIrp, :QWORD,:QWORD
PROTO64 external,KsDispatchQuerySecurity, :QWORD,:QWORD
PROTO64 external,KsDispatchSetSecurity, :QWORD,:QWORD
PROTO64 external,KsDispatchSpecificMethod, :QWORD,:QWORD
PROTO64 external,KsDispatchSpecificProperty, :QWORD,:QWORD
PROTO64 external,KsEnableEvent, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsEnableEventWithAllocator, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsFastMethodHandler, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsFastPropertyHandler, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsFilterAcquireProcessingMutex, :QWORD
PROTO64 external,KsFilterAddTopologyConnections, :QWORD,:QWORD,:QWORD
PROTO64 external,KsFilterAttemptProcessing, :QWORD,:QWORD
PROTO64 external,KsFilterCreateNode, :QWORD,:QWORD,:QWORD
PROTO64 external,KsFilterCreatePinFactory, :QWORD,:QWORD,:QWORD
PROTO64 external,KsFilterFactoryAddCreateItem, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsFilterFactoryGetSymbolicLink, :QWORD
PROTO64 external,KsFilterFactorySetDeviceClassesState, :QWORD,:QWORD
PROTO64 external,KsFilterFactoryUpdateCacheData, :QWORD,:QWORD
PROTO64 external,KsFilterGetAndGate, :QWORD
PROTO64 external,KsFilterGetChildPinCount, :QWORD,:QWORD
PROTO64 external,KsFilterGetFirstChildPin, :QWORD,:QWORD
PROTO64 external,KsFilterRegisterPowerCallbacks, :QWORD,:QWORD,:QWORD
PROTO64 external,KsFilterReleaseProcessingMutex, :QWORD
PROTO64 external,KsForwardAndCatchIrp, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsForwardIrp, :QWORD,:QWORD,:QWORD
PROTO64 external,KsFreeDefaultClock, :QWORD
PROTO64 external,KsFreeDeviceHeader, :QWORD
PROTO64 external,KsFreeEventList, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsFreeObjectBag, :QWORD
PROTO64 external,KsFreeObjectCreateItem, :QWORD,:QWORD
PROTO64 external,KsFreeObjectCreateItemsByContext, :QWORD,:QWORD
PROTO64 external,KsFreeObjectHeader, :QWORD
PROTO64 external,KsGenerateDataEvent, :QWORD,:QWORD,:QWORD
PROTO64 external,KsGenerateEvent, :QWORD
PROTO64 external,KsGenerateEventList, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsGenerateEvents, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsGetBusEnumIdentifier, :QWORD
PROTO64 external,KsGetBusEnumParentFDOFromChildPDO, :QWORD,:QWORD
PROTO64 external,KsGetBusEnumPnpDeviceObject, :QWORD,:QWORD
PROTO64 external,KsGetDefaultClockState, :QWORD
PROTO64 external,KsGetDefaultClockTime, :QWORD
PROTO64 external,KsGetDevice, :QWORD
PROTO64 external,KsGetDeviceForDeviceObject, :QWORD
PROTO64 external,KsGetFilterFromIrp, :QWORD
PROTO64 external,KsGetFirstChild, :QWORD
PROTO64 external,KsGetImageNameAndResourceId, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsGetNextSibling, :QWORD
PROTO64 external,KsGetNodeIdFromIrp, :QWORD
PROTO64 external,KsGetObjectFromFileObject, :QWORD
PROTO64 external,KsGetObjectTypeFromFileObject, :QWORD
PROTO64 external,KsGetObjectTypeFromIrp, :QWORD
PROTO64 external,KsGetOuterUnknown, :QWORD
PROTO64 external,KsGetParent, :QWORD
PROTO64 external,KsGetPinFromIrp, :QWORD
PROTO64 external,KsHandleSizedListQuery, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsIncrementCountedWorker, :QWORD
PROTO64 external,KsInitializeDevice, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsInitializeDriver, :QWORD,:QWORD,:QWORD
PROTO64 external,KsInstallBusEnumInterface, :QWORD
PROTO64 external,KsIsBusEnumChildDevice, :QWORD,:QWORD
PROTO64 external,KsLoadResource, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsMapModuleName, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsMergeAutomationTables, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsMethodHandler, :QWORD,:QWORD,:QWORD
PROTO64 external,KsMethodHandlerWithAllocator, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsMoveIrpsOnCancelableQueue, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsNullDriverUnload, :QWORD
PROTO64 external,KsPinAcquireProcessingMutex, :QWORD
PROTO64 external,KsPinAttachAndGate, :QWORD,:QWORD
PROTO64 external,KsPinAttachOrGate, :QWORD,:QWORD
PROTO64 external,KsPinAttemptProcessing, :QWORD,:QWORD
PROTO64 external,KsPinDataIntersection, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsPinGetAndGate, :QWORD
PROTO64 external,KsPinGetAvailableByteCount, :QWORD,:QWORD,:QWORD
PROTO64 external,KsPinGetConnectedFilterInterface, :QWORD,:QWORD,:QWORD
PROTO64 external,KsPinGetConnectedPinDeviceObject, :QWORD
PROTO64 external,KsPinGetConnectedPinFileObject, :QWORD
PROTO64 external,KsPinGetConnectedPinInterface, :QWORD,:QWORD,:QWORD
PROTO64 external,KsPinGetCopyRelationships, :QWORD,:QWORD,:QWORD
PROTO64 external,KsPinGetFirstCloneStreamPointer, :QWORD
PROTO64 external,KsPinGetLeadingEdgeStreamPointer, :QWORD,:QWORD
PROTO64 external,KsPinGetNextSiblingPin, :QWORD
PROTO64 external,KsPinGetParentFilter, :QWORD
PROTO64 external,KsPinGetReferenceClockInterface, :QWORD,:QWORD
PROTO64 external,KsPinGetTrailingEdgeStreamPointer, :QWORD,:QWORD
PROTO64 external,KsPinPropertyHandler, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsPinRegisterFrameReturnCallback, :QWORD,:QWORD
PROTO64 external,KsPinRegisterHandshakeCallback, :QWORD,:QWORD
PROTO64 external,KsPinRegisterIrpCompletionCallback, :QWORD,:QWORD
PROTO64 external,KsPinRegisterPowerCallbacks, :QWORD,:QWORD,:QWORD
PROTO64 external,KsPinReleaseProcessingMutex, :QWORD
PROTO64 external,KsPinSetPinClockTime, :QWORD,:QWORD,:QWORD
PROTO64 external,KsPinSubmitFrame, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsPinSubmitFrameMdl, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsProbeStreamIrp, :QWORD,:QWORD,:QWORD
PROTO64 external,KsProcessPinUpdate, :QWORD
PROTO64 external,KsPropertyHandler, :QWORD,:QWORD,:QWORD
PROTO64 external,KsPropertyHandlerWithAllocator, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsQueryDevicePnpObject, :QWORD
PROTO64 external,KsQueryInformationFile, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsQueryObjectAccessMask, :QWORD
PROTO64 external,KsQueryObjectCreateItem, :QWORD
PROTO64 external,KsQueueWorkItem, :QWORD,:QWORD
PROTO64 external,KsReadFile, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsRecalculateStackDepth, :QWORD,:QWORD
PROTO64 external,KsReferenceBusObject, :QWORD
PROTO64 external,KsReferenceSoftwareBusObject, :QWORD
PROTO64 external,KsRegisterAggregatedClientUnknown, :QWORD,:QWORD
PROTO64 external,KsRegisterCountedWorker, :QWORD,:QWORD,:QWORD
PROTO64 external,KsRegisterFilterWithNoKSPins, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsRegisterWorker, :QWORD,:QWORD
PROTO64 external,KsReleaseControl, :QWORD
PROTO64 external,KsReleaseDevice, :QWORD
PROTO64 external,KsReleaseDeviceSecurityLock, :QWORD
PROTO64 external,KsReleaseIrpOnCancelableQueue, :QWORD,:QWORD
PROTO64 external,KsRemoveBusEnumInterface, :QWORD
PROTO64 external,KsRemoveIrpFromCancelableQueue, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsRemoveItemFromObjectBag, :QWORD,:QWORD,:QWORD
PROTO64 external,KsRemoveSpecificIrpFromCancelableQueue, :QWORD
PROTO64 external,KsServiceBusEnumCreateRequest, :QWORD,:QWORD
PROTO64 external,KsServiceBusEnumPnpRequest, :QWORD,:QWORD
PROTO64 external,KsSetDefaultClockState, :QWORD,:QWORD
PROTO64 external,KsSetDefaultClockTime, :QWORD,:QWORD,:QWORD
PROTO64 external,KsSetDevicePnpAndBaseObject, :QWORD,:QWORD,:QWORD
PROTO64 external,KsSetInformationFile, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsSetMajorFunctionHandler, :QWORD,:QWORD
PROTO64 external,KsSetPowerDispatch, :QWORD,:QWORD,:QWORD
PROTO64 external,KsSetTargetDeviceObject, :QWORD,:QWORD
PROTO64 external,KsSetTargetState, :QWORD,:QWORD
PROTO64 external,KsStreamIo, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsStreamPointerAdvance, :QWORD
PROTO64 external,KsStreamPointerAdvanceOffsets, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsStreamPointerAdvanceOffsetsAndUnlock, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsStreamPointerCancelTimeout, :QWORD
PROTO64 external,KsStreamPointerClone, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsStreamPointerDelete, :QWORD
PROTO64 external,KsStreamPointerGetIrp, :QWORD,:QWORD,:QWORD
PROTO64 external,KsStreamPointerGetMdl, :QWORD
PROTO64 external,KsStreamPointerGetNextClone, :QWORD
PROTO64 external,KsStreamPointerLock, :QWORD
PROTO64 external,KsStreamPointerScheduleTimeout, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsStreamPointerSetStatusCode, :QWORD,:QWORD
PROTO64 external,KsStreamPointerUnlock, :QWORD,:QWORD
PROTO64 external,KsSynchronousIoControlDevice, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsTerminateDevice, :QWORD
PROTO64 external,KsTopologyPropertyHandler, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsUnregisterWorker, :QWORD
PROTO64 external,KsUnserializeObjectPropertiesFromRegistry, :QWORD,:QWORD,:QWORD
PROTO64 external,KsValidateAllocatorCreateRequest, :QWORD,:QWORD
PROTO64 external,KsValidateAllocatorFramingEx, :QWORD,:QWORD,:QWORD
PROTO64 external,KsValidateClockCreateRequest, :QWORD,:QWORD
PROTO64 external,KsValidateConnectRequest, :QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsValidateTopologyNodeCreateRequest, :QWORD,:QWORD,:QWORD
PROTO64 external,KsWriteFile, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
PROTO64 external,KsiDefaultClockAddMarkEvent, :QWORD,:QWORD,:QWORD
PROTO64 external,KsiPropertyDefaultClockGetCorrelatedPhysicalTime, :QWORD,:QWORD,:QWORD
PROTO64 external,KsiPropertyDefaultClockGetCorrelatedTime, :QWORD,:QWORD,:QWORD
PROTO64 external,KsiPropertyDefaultClockGetFunctionTable, :QWORD,:QWORD,:QWORD
PROTO64 external,KsiPropertyDefaultClockGetPhysicalTime, :QWORD,:QWORD,:QWORD
PROTO64 external,KsiPropertyDefaultClockGetResolution, :QWORD,:QWORD,:QWORD
PROTO64 external,KsiPropertyDefaultClockGetState, :QWORD,:QWORD,:QWORD
PROTO64 external,KsiPropertyDefaultClockGetTime, :QWORD,:QWORD,:QWORD
PROTO64 external,KsiQueryObjectCreateItemsPresent, :QWORD
PROTO64 external,_KsEdit, :QWORD,:QWORD,:QWORD,:QWORD,:QWORD

ELSE
echo -----------------------------------------
echo WARNING Duplicate include file ks.inc
echo -----------------------------------------
ENDIF

