mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
[DDK]
Merge changes from header branch [NDK] - Prevent PPEB from being redefined svn path=/branches/ros-amd64-bringup/; revision=46390
This commit is contained in:
parent
a9fd1700ff
commit
eb0e6e515d
|
@ -104,33 +104,33 @@ typedef struct _ARC_FILTER
|
|||
} ARC_FILTER,*PARC_FILTER;
|
||||
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ArcCreateFilter(
|
||||
IN struct _NDIS_MINIPORT_BLOCK *Miniport,
|
||||
IN UCHAR AdapterAddress,
|
||||
OUT PARC_FILTER *Filter);
|
||||
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ArcDeleteFilter(
|
||||
IN PARC_FILTER Filter);
|
||||
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ArcNoteFilterOpenAdapter(
|
||||
IN PARC_FILTER Filter,
|
||||
IN NDIS_HANDLE NdisBindingHandle,
|
||||
OUT PNDIS_HANDLE NdisFilterHandle);
|
||||
|
||||
NDIS_STATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ArcDeleteFilterOpenAdapter(
|
||||
IN PARC_FILTER Filter,
|
||||
IN NDIS_HANDLE NdisFilterHandle,
|
||||
IN PNDIS_REQUEST NdisRequest);
|
||||
|
||||
NDIS_STATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ArcFilterAdjust(
|
||||
IN PARC_FILTER Filter,
|
||||
IN NDIS_HANDLE NdisFilterHandle,
|
||||
|
@ -139,12 +139,12 @@ ArcFilterAdjust(
|
|||
IN BOOLEAN Set);
|
||||
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ArcFilterDprIndicateReceiveComplete(
|
||||
IN PARC_FILTER Filter);
|
||||
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ArcFilterDprIndicateReceive(
|
||||
IN PARC_FILTER Filter,
|
||||
IN PUCHAR pRawHeader,
|
||||
|
@ -152,7 +152,7 @@ ArcFilterDprIndicateReceive(
|
|||
IN UINT Length);
|
||||
|
||||
NDIS_STATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ArcFilterTransferData(
|
||||
IN PARC_FILTER Filter,
|
||||
IN NDIS_HANDLE MacReceiveContext,
|
||||
|
@ -162,18 +162,18 @@ ArcFilterTransferData(
|
|||
OUT PUINT BytesTransfered);
|
||||
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ArcFreeNdisPacket(
|
||||
IN PARC_PACKET Packet);
|
||||
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ArcFilterDoIndication(
|
||||
IN PARC_FILTER Filter,
|
||||
IN PARC_PACKET Packet);
|
||||
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ArcDestroyPacket(
|
||||
IN PARC_FILTER Filter,
|
||||
IN PARC_PACKET Packet);
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
#pragma once
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_WINXP)
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Helper macro to enable gcc's extension. */
|
||||
/* Helper macro to enable gcc's extension. */
|
||||
#ifndef __GNU_EXTENSION
|
||||
#ifdef __GNUC__
|
||||
#define __GNU_EXTENSION __extension__
|
||||
|
@ -12,150 +16,190 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#define STDMETHODCALLTYPE __stdcall
|
||||
|
||||
#ifndef _WDMDDK_
|
||||
typedef GUID *PGUID;
|
||||
#endif
|
||||
|
||||
/* Types */
|
||||
|
||||
typedef struct _BDA_PIN_PAIRING
|
||||
{
|
||||
ULONG ulInputPin;
|
||||
ULONG ulOutputPin;
|
||||
ULONG ulcMaxInputsPerOutput;
|
||||
ULONG ulcMinInputsPerOutput;
|
||||
ULONG ulcMaxOutputsPerInput;
|
||||
ULONG ulcMinOutputsPerInput;
|
||||
ULONG ulcTopologyJoints;
|
||||
const ULONG *pTopologyJoints;
|
||||
typedef ULONG BDA_TOPOLOGY_JOINT, *PBDA_TOPOLOGY_JOINT;
|
||||
|
||||
typedef struct _BDA_PIN_PAIRING {
|
||||
ULONG ulInputPin;
|
||||
ULONG ulOutputPin;
|
||||
ULONG ulcMaxInputsPerOutput;
|
||||
ULONG ulcMinInputsPerOutput;
|
||||
ULONG ulcMaxOutputsPerInput;
|
||||
ULONG ulcMinOutputsPerInput;
|
||||
ULONG ulcTopologyJoints;
|
||||
const ULONG *pTopologyJoints;
|
||||
} BDA_PIN_PAIRING, *PBDA_PIN_PAIRING;
|
||||
|
||||
typedef struct _BDA_FILTER_TEMPLATE
|
||||
{
|
||||
const KSFILTER_DESCRIPTOR *pFilterDescriptor;
|
||||
ULONG ulcPinPairs;
|
||||
const BDA_PIN_PAIRING *pPinPairs;
|
||||
typedef struct _BDA_FILTER_TEMPLATE {
|
||||
const KSFILTER_DESCRIPTOR *pFilterDescriptor;
|
||||
ULONG ulcPinPairs;
|
||||
const BDA_PIN_PAIRING *pPinPairs;
|
||||
} BDA_FILTER_TEMPLATE, *PBDA_FILTER_TEMPLATE;
|
||||
|
||||
typedef struct _KSM_PIN_PAIR {
|
||||
KSMETHOD Method;
|
||||
ULONG InputPinId;
|
||||
ULONG OutputPinId;
|
||||
ULONG Reserved;
|
||||
} KSM_PIN_PAIR, * PKSM_PIN_PAIR;
|
||||
|
||||
typedef struct _KSM_PIN
|
||||
{
|
||||
KSMETHOD Method;
|
||||
__GNU_EXTENSION union
|
||||
{
|
||||
ULONG PinId;
|
||||
ULONG PinType;
|
||||
};
|
||||
ULONG Reserved;
|
||||
typedef struct _KSM_PIN {
|
||||
KSMETHOD Method;
|
||||
__GNU_EXTENSION union {
|
||||
ULONG PinId;
|
||||
ULONG PinType;
|
||||
};
|
||||
ULONG Reserved;
|
||||
} KSM_PIN, * PKSM_PIN;
|
||||
|
||||
/* Functions */
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaCheckChanges(IN PIRP Irp);
|
||||
STDMETHODIMP_(NTSTATUS) BdaCommitChanges(IN PIRP Irp);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaCheckChanges(
|
||||
IN PIRP Irp);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaCreateFilterFactory(
|
||||
IN PKSDEVICE pKSDevice,
|
||||
IN const KSFILTER_DESCRIPTOR *pFilterDescriptor,
|
||||
IN const BDA_FILTER_TEMPLATE *pBdaFilterTemplate);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaCommitChanges(
|
||||
IN PIRP Irp);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaCreateFilterFactoryEx(
|
||||
IN PKSDEVICE pKSDevice,
|
||||
IN const KSFILTER_DESCRIPTOR *pFilterDescriptor,
|
||||
IN const BDA_FILTER_TEMPLATE *pBdaFilterTemplate,
|
||||
OUT PKSFILTERFACTORY *ppKSFilterFactory);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaCreateFilterFactory(
|
||||
IN PKSDEVICE pKSDevice,
|
||||
IN const KSFILTER_DESCRIPTOR *pFilterDescriptor,
|
||||
IN const BDA_FILTER_TEMPLATE *pBdaFilterTemplate);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaCreatePin(
|
||||
IN PKSFILTER pKSFilter,
|
||||
IN ULONG ulPinType,
|
||||
OUT ULONG *pulPinId);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaCreateFilterFactoryEx(
|
||||
IN PKSDEVICE pKSDevice,
|
||||
IN const KSFILTER_DESCRIPTOR *pFilterDescriptor,
|
||||
IN const BDA_FILTER_TEMPLATE *pBdaFilterTemplate,
|
||||
OUT PKSFILTERFACTORY *ppKSFilterFactory);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaCreateTopology(
|
||||
IN PKSFILTER pKSFilter,
|
||||
IN ULONG InputPinId,
|
||||
IN ULONG OutputPinId);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaCreatePin(
|
||||
IN PKSFILTER pKSFilter,
|
||||
IN ULONG ulPinType,
|
||||
OUT ULONG *pulPinId);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaDeletePin(
|
||||
IN PKSFILTER pKSFilter,
|
||||
IN ULONG *pulPinId);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaCreateTopology(
|
||||
IN PKSFILTER pKSFilter,
|
||||
IN ULONG InputPinId,
|
||||
IN ULONG OutputPinId);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaFilterFactoryUpdateCacheData(
|
||||
IN PKSFILTERFACTORY pFilterFactory,
|
||||
IN const KSFILTER_DESCRIPTOR *pFilterDescriptor OPTIONAL);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaDeletePin(
|
||||
IN PKSFILTER pKSFilter,
|
||||
IN ULONG *pulPinId);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaGetChangeState(
|
||||
IN PIRP Irp,
|
||||
OUT BDA_CHANGE_STATE *pChangeState);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaFilterFactoryUpdateCacheData(
|
||||
IN PKSFILTERFACTORY pFilterFactory,
|
||||
IN const KSFILTER_DESCRIPTOR *pFilterDescriptor OPTIONAL);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaInitFilter(
|
||||
IN PKSFILTER pKSFilter,
|
||||
IN const BDA_FILTER_TEMPLATE *pBdaFilterTemplate);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaGetChangeState(
|
||||
IN PIRP Irp,
|
||||
OUT BDA_CHANGE_STATE *pChangeState);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaMethodCreatePin(
|
||||
IN PIRP Irp,
|
||||
IN KSMETHOD *pKSMethod,
|
||||
OUT ULONG *pulPinFactoryID);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaInitFilter(
|
||||
IN PKSFILTER pKSFilter,
|
||||
IN const BDA_FILTER_TEMPLATE *pBdaFilterTemplate);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaMethodCreateTopology(
|
||||
IN PIRP Irp,
|
||||
IN KSMETHOD *pKSMethod,
|
||||
OPTIONAL PVOID pvIgnored);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaMethodCreatePin(
|
||||
IN PIRP Irp,
|
||||
IN KSMETHOD *pKSMethod,
|
||||
OUT ULONG *pulPinFactoryID);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaMethodDeletePin(
|
||||
IN PIRP Irp,
|
||||
IN KSMETHOD *pKSMethod,
|
||||
OPTIONAL PVOID pvIgnored);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaMethodCreateTopology(
|
||||
IN PIRP Irp,
|
||||
IN KSMETHOD *pKSMethod,
|
||||
OPTIONAL PVOID pvIgnored);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaPropertyGetControllingPinId(
|
||||
IN PIRP Irp,
|
||||
IN KSP_BDA_NODE_PIN *pProperty,
|
||||
OUT ULONG *pulControllingPinId);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaMethodDeletePin(
|
||||
IN PIRP Irp,
|
||||
IN KSMETHOD *pKSMethod,
|
||||
OPTIONAL PVOID pvIgnored);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaPropertyGetPinControl(
|
||||
IN PIRP Irp,
|
||||
IN KSPROPERTY *pKSProperty,
|
||||
OUT ULONG *pulProperty);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaPropertyGetControllingPinId(
|
||||
IN PIRP Irp,
|
||||
IN KSP_BDA_NODE_PIN *pProperty,
|
||||
OUT ULONG *pulControllingPinId);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaPropertyNodeDescriptors(
|
||||
IN PIRP Irp,
|
||||
IN KSPROPERTY *pKSProperty,
|
||||
OUT BDANODE_DESCRIPTOR *pNodeDescriptorProperty);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaPropertyGetPinControl(
|
||||
IN PIRP Irp,
|
||||
IN KSPROPERTY *pKSProperty,
|
||||
OUT ULONG *pulProperty);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaPropertyNodeEvents(
|
||||
IN PIRP Irp,
|
||||
IN KSP_NODE *pKSProperty,
|
||||
OUT GUID *pguidProperty);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaPropertyNodeDescriptors(
|
||||
IN PIRP Irp,
|
||||
IN KSPROPERTY *pKSProperty,
|
||||
OUT BDANODE_DESCRIPTOR *pNodeDescriptorProperty);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaPropertyNodeMethods(
|
||||
IN PIRP Irp,
|
||||
IN KSP_NODE *pKSProperty,
|
||||
OUT GUID *pguidProperty);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaPropertyNodeEvents(
|
||||
IN PIRP Irp,
|
||||
IN KSP_NODE *pKSProperty,
|
||||
OUT GUID *pguidProperty);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaPropertyNodeProperties(
|
||||
IN PIRP Irp,
|
||||
IN KSP_NODE *pKSProperty,
|
||||
OUT GUID *pguidProperty);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaPropertyNodeMethods(
|
||||
IN PIRP Irp,
|
||||
IN KSP_NODE *pKSProperty,
|
||||
OUT GUID *pguidProperty);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaPropertyNodeTypes(
|
||||
IN PIRP Irp,
|
||||
IN KSPROPERTY *pKSProperty,
|
||||
OUT ULONG *pulProperty);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaPropertyNodeProperties(
|
||||
IN PIRP Irp,
|
||||
IN KSP_NODE *pKSProperty,
|
||||
OUT GUID *pguidProperty);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaPropertyPinTypes(
|
||||
IN PIRP Irp,
|
||||
IN KSPROPERTY *pKSProperty,
|
||||
OUT ULONG *pulProperty);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaPropertyNodeTypes(
|
||||
IN PIRP Irp,
|
||||
IN KSPROPERTY *pKSProperty,
|
||||
OUT ULONG *pulProperty);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaPropertyTemplateConnections(
|
||||
IN PIRP Irp,
|
||||
IN KSPROPERTY *pKSProperty,
|
||||
OUT KSTOPOLOGY_CONNECTION *pConnectionProperty);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaPropertyPinTypes(
|
||||
IN PIRP Irp,
|
||||
IN KSPROPERTY *pKSProperty,
|
||||
OUT ULONG *pulProperty);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaStartChanges(IN PIRP Irp);
|
||||
STDMETHODIMP_(NTSTATUS) BdaUninitFilter(IN PKSFILTER pKSFilter);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaPropertyTemplateConnections(
|
||||
IN PIRP Irp,
|
||||
IN KSPROPERTY *pKSProperty,
|
||||
OUT KSTOPOLOGY_CONNECTION *pConnectionProperty);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS) BdaValidateNodeProperty(
|
||||
IN PIRP Irp,
|
||||
IN KSPROPERTY *pKSProperty);
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaStartChanges(
|
||||
IN PIRP Irp);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaUninitFilter(
|
||||
IN PKSFILTER pKSFilter);
|
||||
|
||||
STDMETHODIMP_(NTSTATUS)
|
||||
BdaValidateNodeProperty(
|
||||
IN PIRP Irp,
|
||||
IN KSPROPERTY *pKSProperty);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* (NTDDI_VERSION >= NTDDI_WINXP) */
|
||||
|
|
|
@ -229,9 +229,11 @@ typedef struct _IO_CSQ_IRP_CONTEXT {
|
|||
}
|
||||
*
|
||||
*/
|
||||
#ifndef IO_TYPE_CSQ_EX
|
||||
typedef NTSTATUS (NTAPI *PIO_CSQ_INSERT_IRP_EX) (struct _IO_CSQ *Csq,
|
||||
PIRP Irp,
|
||||
PVOID InsertContext);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* CANCEL-SAFE QUEUE DDIs
|
||||
|
|
|
@ -98,11 +98,11 @@ enum DeviceObjectState {
|
|||
DeviceObjectRemoved
|
||||
};
|
||||
|
||||
typedef VOID (DDKAPI *PHID_STATUS_CHANGE)(
|
||||
typedef VOID (NTAPI *PHID_STATUS_CHANGE)(
|
||||
PVOID Context,
|
||||
enum DeviceObjectState State);
|
||||
|
||||
typedef NTSTATUS (DDKAPI *PHIDP_GETCAPS)(
|
||||
typedef NTSTATUS (NTAPI *PHIDP_GETCAPS)(
|
||||
IN PHIDP_PREPARSED_DATA PreparsedData,
|
||||
OUT PHIDP_CAPS Capabilities);
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ typedef struct _HIDP_KEYBOARD_MODIFIER_STATE {
|
|||
} DUMMYUNIONNAME;
|
||||
} HIDP_KEYBOARD_MODIFIER_STATE, *PHIDP_KEYBOARD_MODIFIER_STATE;
|
||||
|
||||
typedef BOOLEAN (DDKAPI *PHIDP_INSERT_SCANCODES)(
|
||||
typedef BOOLEAN (NTAPI *PHIDP_INSERT_SCANCODES)(
|
||||
IN PVOID Context,
|
||||
IN PCHAR NewScanCodes,
|
||||
IN ULONG Length);
|
||||
|
@ -94,7 +94,7 @@ typedef struct _HIDD_CONFIGURATION {
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_TranslateUsageAndPagesToI8042ScanCodes(
|
||||
IN PUSAGE_AND_PAGE ChangedUsageList,
|
||||
IN ULONG UsageListLength,
|
||||
|
@ -105,7 +105,7 @@ HidP_TranslateUsageAndPagesToI8042ScanCodes(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_TranslateUsagesToI8042ScanCodes(
|
||||
IN PUSAGE ChangedUsageList,
|
||||
IN ULONG UsageListLength,
|
||||
|
@ -313,14 +313,14 @@ typedef enum _HIDP_REPORT_TYPE {
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_GetCaps(
|
||||
IN PHIDP_PREPARSED_DATA PreparsedData,
|
||||
OUT PHIDP_CAPS Capabilities);
|
||||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_GetData(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
OUT PHIDP_DATA DataList,
|
||||
|
@ -331,7 +331,7 @@ HidP_GetData(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_GetExtendedAttributes(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USHORT DataIndex,
|
||||
|
@ -341,7 +341,7 @@ HidP_GetExtendedAttributes(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_GetLinkCollectionNodes(
|
||||
OUT PHIDP_LINK_COLLECTION_NODE LinkCollectionNodes,
|
||||
IN OUT PULONG LinkCollectionNodesLength,
|
||||
|
@ -349,7 +349,7 @@ HidP_GetLinkCollectionNodes(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_GetScaledUsageValue(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USAGE UsagePage,
|
||||
|
@ -362,7 +362,7 @@ HidP_GetScaledUsageValue(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_GetSpecificButtonCaps(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USAGE UsagePage,
|
||||
|
@ -374,7 +374,7 @@ HidP_GetSpecificButtonCaps(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_GetSpecificValueCaps(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USAGE UsagePage,
|
||||
|
@ -386,7 +386,7 @@ HidP_GetSpecificValueCaps(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_GetUsages(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USAGE UsagePage,
|
||||
|
@ -399,7 +399,7 @@ HidP_GetUsages(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_GetUsagesEx(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USHORT LinkCollection,
|
||||
|
@ -411,7 +411,7 @@ HidP_GetUsagesEx(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_GetUsageValue(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USAGE UsagePage,
|
||||
|
@ -424,7 +424,7 @@ HidP_GetUsageValue(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_GetUsageValueArray(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USAGE UsagePage,
|
||||
|
@ -453,7 +453,7 @@ HidP_GetUsageValueArray(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_InitializeReportForID(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN UCHAR ReportID,
|
||||
|
@ -475,14 +475,14 @@ HidP_InitializeReportForID(
|
|||
|
||||
HIDAPI
|
||||
ULONG
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_MaxDataListLength(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN PHIDP_PREPARSED_DATA PreparsedData);
|
||||
|
||||
HIDAPI
|
||||
ULONG
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_MaxUsageListLength(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USAGE UsagePage OPTIONAL,
|
||||
|
@ -509,7 +509,7 @@ HidP_MaxUsageListLength(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_SetData(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN PHIDP_DATA DataList,
|
||||
|
@ -520,7 +520,7 @@ HidP_SetData(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_SetScaledUsageValue(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USAGE UsagePage,
|
||||
|
@ -533,7 +533,7 @@ HidP_SetScaledUsageValue(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_SetUsages(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USAGE UsagePage,
|
||||
|
@ -546,7 +546,7 @@ HidP_SetUsages(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_SetUsageValue(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USAGE UsagePage,
|
||||
|
@ -559,7 +559,7 @@ HidP_SetUsageValue(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_SetUsageValueArray(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USAGE UsagePage,
|
||||
|
@ -592,7 +592,7 @@ HidP_SetUsageValueArray(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_UnsetUsages(
|
||||
IN HIDP_REPORT_TYPE ReportType,
|
||||
IN USAGE UsagePage,
|
||||
|
@ -605,7 +605,7 @@ HidP_UnsetUsages(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_UsageAndPageListDifference(
|
||||
IN PUSAGE_AND_PAGE PreviousUsageList,
|
||||
IN PUSAGE_AND_PAGE CurrentUsageList,
|
||||
|
@ -615,7 +615,7 @@ HidP_UsageAndPageListDifference(
|
|||
|
||||
HIDAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
HidP_UsageListDifference(
|
||||
IN PUSAGE PreviousUsageList,
|
||||
IN PUSAGE CurrentUsageList,
|
||||
|
|
|
@ -51,7 +51,7 @@ extern "C" {
|
|||
|
||||
CHANGERAPI
|
||||
PVOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ChangerClassAllocatePool(
|
||||
IN POOL_TYPE PoolType,
|
||||
IN ULONG NumberOfBytes);
|
||||
|
@ -64,13 +64,13 @@ ChangerClassDebugPrint(
|
|||
|
||||
CHANGERAPI
|
||||
PVOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ChangerClassFreePool(
|
||||
IN PVOID PoolToFree);
|
||||
|
||||
CHANGERAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ChangerClassSendSrbSynchronous(
|
||||
IN PDEVICE_OBJECT DeviceObject,
|
||||
IN PSCSI_REQUEST_BLOCK Srb,
|
||||
|
@ -79,27 +79,27 @@ ChangerClassSendSrbSynchronous(
|
|||
IN BOOLEAN WriteToDevice);
|
||||
|
||||
|
||||
typedef NTSTATUS DDKAPI
|
||||
typedef NTSTATUS NTAPI
|
||||
(*CHANGER_INITIALIZE)(
|
||||
IN PDEVICE_OBJECT DeviceObject);
|
||||
|
||||
typedef ULONG DDKAPI
|
||||
typedef ULONG NTAPI
|
||||
(*CHANGER_EXTENSION_SIZE)(
|
||||
VOID);
|
||||
|
||||
typedef VOID DDKAPI
|
||||
typedef VOID NTAPI
|
||||
(*CHANGER_ERROR_ROUTINE)(
|
||||
PDEVICE_OBJECT DeviceObject,
|
||||
PSCSI_REQUEST_BLOCK Srb,
|
||||
NTSTATUS *Status,
|
||||
BOOLEAN *Retry);
|
||||
|
||||
typedef NTSTATUS DDKAPI
|
||||
typedef NTSTATUS NTAPI
|
||||
(*CHANGER_COMMAND_ROUTINE)(
|
||||
IN PDEVICE_OBJECT DeviceObject,
|
||||
IN PIRP Irp);
|
||||
|
||||
typedef NTSTATUS DDKAPI
|
||||
typedef NTSTATUS NTAPI
|
||||
(*CHANGER_PERFORM_DIAGNOSTICS)(
|
||||
IN PDEVICE_OBJECT DeviceObject,
|
||||
OUT PWMI_CHANGER_PROBLEM_DEVICE_ERROR ChangerDeviceError);
|
||||
|
@ -125,7 +125,7 @@ typedef struct _MCD_INIT_DATA {
|
|||
|
||||
CHANGERAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ChangerClassInitialize(
|
||||
IN PDRIVER_OBJECT DriverObject,
|
||||
IN PUNICODE_STRING RegistryPath,
|
||||
|
|
|
@ -59,7 +59,7 @@ typedef struct _VIDEO_ACCESS_RANGE {
|
|||
#endif
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *PBANKED_SECTION_ROUTINE)(
|
||||
(NTAPI *PBANKED_SECTION_ROUTINE)(
|
||||
IN ULONG ReadBank,
|
||||
IN ULONG WriteBank,
|
||||
IN PVOID Context);
|
||||
|
|
|
@ -159,24 +159,24 @@ typedef struct _MODE_CAPABILITIES_PAGE {
|
|||
UCHAR Reserved11[2];
|
||||
} MODE_CAPABILITIES_PAGE, *PMODE_CAPABILITIES_PAGE;
|
||||
|
||||
typedef BOOLEAN DDKAPI
|
||||
typedef BOOLEAN NTAPI
|
||||
(*TAPE_VERIFY_INQUIRY_ROUTINE)(
|
||||
IN PINQUIRYDATA InquiryData,
|
||||
IN PMODE_CAPABILITIES_PAGE ModeCapabilitiesPage);
|
||||
|
||||
typedef VOID DDKAPI
|
||||
typedef VOID NTAPI
|
||||
(*TAPE_EXTENSION_INIT_ROUTINE)(
|
||||
IN PVOID MinitapeExtension,
|
||||
IN PINQUIRYDATA InquiryData,
|
||||
IN PMODE_CAPABILITIES_PAGE ModeCapabilitiesPage);
|
||||
|
||||
typedef VOID DDKAPI
|
||||
typedef VOID NTAPI
|
||||
(*TAPE_ERROR_ROUTINE)(
|
||||
IN PVOID MinitapeExtension,
|
||||
IN PSCSI_REQUEST_BLOCK Srb,
|
||||
IN OUT PTAPE_STATUS TapeStatus);
|
||||
|
||||
typedef TAPE_STATUS DDKAPI
|
||||
typedef TAPE_STATUS NTAPI
|
||||
(*TAPE_PROCESS_COMMAND_ROUTINE)(
|
||||
IN OUT PVOID MinitapeExtension,
|
||||
IN OUT PVOID CommandExtension,
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -36,7 +36,7 @@ extern "C" {
|
|||
#define AGP_CAPABILITIES_MAP_PHYSICAL 0x00000001L
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PAGP_BUS_COMMIT_MEMORY)(
|
||||
(NTAPI *PAGP_BUS_COMMIT_MEMORY)(
|
||||
IN PVOID AgpContext,
|
||||
IN PVOID MapHandle,
|
||||
IN ULONG NumberOfPages,
|
||||
|
@ -45,19 +45,19 @@ typedef NTSTATUS
|
|||
OUT PHYSICAL_ADDRESS *MemoryBase);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PAGP_BUS_FREE_MEMORY)(
|
||||
(NTAPI *PAGP_BUS_FREE_MEMORY)(
|
||||
IN PVOID AgpContext,
|
||||
IN PVOID MapHandle,
|
||||
IN ULONG NumberOfPages,
|
||||
IN ULONG OffsetInPages);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PAGP_BUS_RELEASE_MEMORY)(
|
||||
(NTAPI *PAGP_BUS_RELEASE_MEMORY)(
|
||||
IN PVOID AgpContext,
|
||||
IN PVOID MapHandle);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PAGP_BUS_RESERVE_MEMORY)(
|
||||
(NTAPI *PAGP_BUS_RESERVE_MEMORY)(
|
||||
IN PVOID AgpContext,
|
||||
IN ULONG NumberOfPages,
|
||||
IN MEMORY_CACHING_TYPE MemoryType,
|
||||
|
@ -65,12 +65,12 @@ typedef NTSTATUS
|
|||
OUT PHYSICAL_ADDRESS *PhysicalAddress OPTIONAL);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PAGP_BUS_SET_RATE)(
|
||||
(NTAPI *PAGP_BUS_SET_RATE)(
|
||||
IN PVOID AgpContext,
|
||||
IN ULONG AgpRate);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PAGP_GET_MAPPED_PAGES)(
|
||||
(NTAPI *PAGP_GET_MAPPED_PAGES)(
|
||||
IN PVOID AgpContext,
|
||||
IN PVOID MapHandle,
|
||||
IN ULONG NumberOfPages,
|
||||
|
|
|
@ -134,29 +134,29 @@ typedef struct _INTERNAL_I8042_START_INFORMATION {
|
|||
} INTERNAL_I8042_START_INFORMATION, *PINTERNAL_I8042_START_INFORMATION;
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *PI8042_ISR_WRITE_PORT)(
|
||||
(NTAPI *PI8042_ISR_WRITE_PORT)(
|
||||
IN PVOID Context,
|
||||
IN UCHAR Value);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *PI8042_QUEUE_PACKET)(
|
||||
(NTAPI *PI8042_QUEUE_PACKET)(
|
||||
IN PVOID Context);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PI8042_SYNCH_READ_PORT) (
|
||||
(NTAPI *PI8042_SYNCH_READ_PORT) (
|
||||
IN PVOID Context,
|
||||
OUT PUCHAR Value,
|
||||
IN BOOLEAN WaitForACK);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PI8042_SYNCH_WRITE_PORT)(
|
||||
(NTAPI *PI8042_SYNCH_WRITE_PORT)(
|
||||
IN PVOID Context,
|
||||
IN UCHAR Value,
|
||||
IN BOOLEAN WaitForACK);
|
||||
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PI8042_KEYBOARD_INITIALIZATION_ROUTINE)(
|
||||
(NTAPI *PI8042_KEYBOARD_INITIALIZATION_ROUTINE)(
|
||||
IN PVOID InitializationContext,
|
||||
IN PVOID SynchFuncContext,
|
||||
IN PI8042_SYNCH_READ_PORT ReadPort,
|
||||
|
@ -164,7 +164,7 @@ typedef NTSTATUS
|
|||
OUT PBOOLEAN TurnTranslationOn);
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PI8042_KEYBOARD_ISR)(
|
||||
(NTAPI *PI8042_KEYBOARD_ISR)(
|
||||
PVOID IsrContext,
|
||||
PKEYBOARD_INPUT_DATA CurrentInput,
|
||||
POUTPUT_PACKET CurrentOutput,
|
||||
|
@ -183,7 +183,7 @@ typedef struct _INTERNAL_I8042_HOOK_KEYBOARD {
|
|||
} INTERNAL_I8042_HOOK_KEYBOARD, *PINTERNAL_I8042_HOOK_KEYBOARD;
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PI8042_MOUSE_ISR)(
|
||||
(NTAPI *PI8042_MOUSE_ISR)(
|
||||
PVOID IsrContext,
|
||||
PMOUSE_INPUT_DATA CurrentInput,
|
||||
POUTPUT_PACKET CurrentOutput,
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -394,22 +394,33 @@ typedef struct _IMAGE_NT_HEADERS64 {
|
|||
ULONG Signature;
|
||||
IMAGE_FILE_HEADER FileHeader;
|
||||
IMAGE_OPTIONAL_HEADER64 OptionalHeader;
|
||||
} IMAGE_NT_HEADERS64, *PIMAGE_NT_HEADERS64;
|
||||
} IMAGE_NT_HEADERS64;
|
||||
|
||||
typedef struct _IMAGE_NT_HEADERS {
|
||||
ULONG Signature;
|
||||
IMAGE_FILE_HEADER FileHeader;
|
||||
IMAGE_OPTIONAL_HEADER32 OptionalHeader;
|
||||
} IMAGE_NT_HEADERS32, *PIMAGE_NT_HEADERS32;
|
||||
} IMAGE_NT_HEADERS32;
|
||||
|
||||
#ifdef _WIN64
|
||||
typedef IMAGE_NT_HEADERS64 IMAGE_NT_HEADERS;
|
||||
typedef PIMAGE_NT_HEADERS64 PIMAGE_NT_HEADERS;
|
||||
#else
|
||||
typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS;
|
||||
#endif
|
||||
|
||||
#ifndef _NTDDK_
|
||||
|
||||
typedef struct _IMAGE_NT_HEADERS *PIMAGE_NT_HEADERS32;
|
||||
typedef struct _IMAGE_NT_HEADERS64 *PIMAGE_NT_HEADERS64;
|
||||
|
||||
#ifdef _WIN64
|
||||
typedef PIMAGE_NT_HEADERS64 PIMAGE_NT_HEADERS;
|
||||
#else
|
||||
typedef PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS;
|
||||
#endif
|
||||
|
||||
#endif /* _NTDDK_ */
|
||||
|
||||
//
|
||||
// Retreives the first image section header from the Nt Header
|
||||
//
|
||||
|
|
|
@ -220,7 +220,7 @@ typedef struct _POWER_STATE_NOTIFY_HANDLER {
|
|||
|
||||
NTSYSCALLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
NtPowerInformation(
|
||||
IN POWER_INFORMATION_LEVEL InformationLevel,
|
||||
IN PVOID InputBuffer OPTIONAL,
|
||||
|
|
|
@ -80,27 +80,27 @@ typedef struct _MORE_PARALLEL_PORT_INFORMATION {
|
|||
} MORE_PARALLEL_PORT_INFORMATION, *PMORE_PARALLEL_PORT_INFORMATION;
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PPARALLEL_SET_CHIP_MODE)(
|
||||
(NTAPI *PPARALLEL_SET_CHIP_MODE)(
|
||||
IN PVOID SetChipContext,
|
||||
IN UCHAR ChipMode);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PPARALLEL_CLEAR_CHIP_MODE)(
|
||||
(NTAPI *PPARALLEL_CLEAR_CHIP_MODE)(
|
||||
IN PVOID ClearChipContext,
|
||||
IN UCHAR ChipMode);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PPARCHIP_CLEAR_CHIP_MODE)(
|
||||
(NTAPI *PPARCHIP_CLEAR_CHIP_MODE)(
|
||||
IN PVOID ClearChipContext,
|
||||
IN UCHAR ChipMode);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PPARALLEL_TRY_SELECT_ROUTINE)(
|
||||
(NTAPI *PPARALLEL_TRY_SELECT_ROUTINE)(
|
||||
IN PVOID TrySelectContext,
|
||||
IN PVOID TrySelectCommand);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PPARALLEL_DESELECT_ROUTINE)(
|
||||
(NTAPI *PPARALLEL_DESELECT_ROUTINE)(
|
||||
IN PVOID DeselectContext,
|
||||
IN PVOID DeselectCommand);
|
||||
|
||||
|
@ -134,15 +134,15 @@ typedef struct _PARALLEL_PNP_INFORMATION {
|
|||
} PARALLEL_PNP_INFORMATION, *PPARALLEL_PNP_INFORMATION;
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PPARALLEL_TRY_ALLOCATE_ROUTINE)(
|
||||
(NTAPI *PPARALLEL_TRY_ALLOCATE_ROUTINE)(
|
||||
IN PVOID TryAllocateContext);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *PPARALLEL_FREE_ROUTINE)(
|
||||
(NTAPI *PPARALLEL_FREE_ROUTINE)(
|
||||
IN PVOID FreeContext);
|
||||
|
||||
typedef ULONG
|
||||
(DDKAPI *PPARALLEL_QUERY_WAITERS_ROUTINE)(
|
||||
(NTAPI *PPARALLEL_QUERY_WAITERS_ROUTINE)(
|
||||
IN PVOID QueryAllocsContext);
|
||||
|
||||
typedef struct _PARALLEL_PORT_INFORMATION {
|
||||
|
@ -165,7 +165,7 @@ typedef struct _PARALLEL_CHIP_MODE {
|
|||
} PARALLEL_CHIP_MODE, *PPARALLEL_CHIP_MODE;
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *PPARALLEL_DEFERRED_ROUTINE)(
|
||||
(NTAPI *PPARALLEL_DEFERRED_ROUTINE)(
|
||||
IN PVOID DeferredContext);
|
||||
|
||||
typedef struct _PARALLEL_INTERRUPT_SERVICE_ROUTINE {
|
||||
|
@ -192,7 +192,7 @@ typedef struct _PARALLEL_INTERRUPT_SERVICE_ROUTINE {
|
|||
CTL_CODE (FILE_DEVICE_PARALLEL_PORT, 53, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
|
||||
typedef USHORT
|
||||
(DDKAPI *PDETERMINE_IEEE_MODES)(
|
||||
(NTAPI *PDETERMINE_IEEE_MODES)(
|
||||
IN PVOID Context);
|
||||
|
||||
typedef enum _PARALLEL_SAFETY {
|
||||
|
@ -201,7 +201,7 @@ typedef enum _PARALLEL_SAFETY {
|
|||
} PARALLEL_SAFETY;
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PNEGOTIATE_IEEE_MODE)(
|
||||
(NTAPI *PNEGOTIATE_IEEE_MODE)(
|
||||
IN PVOID Context,
|
||||
IN USHORT ModeMaskFwd,
|
||||
IN USHORT ModeMaskRev,
|
||||
|
@ -209,19 +209,19 @@ typedef NTSTATUS
|
|||
IN BOOLEAN IsForward);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PTERMINATE_IEEE_MODE)(
|
||||
(NTAPI *PTERMINATE_IEEE_MODE)(
|
||||
IN PVOID Context);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PPARALLEL_IEEE_FWD_TO_REV)(
|
||||
(NTAPI *PPARALLEL_IEEE_FWD_TO_REV)(
|
||||
IN PVOID Context);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PPARALLEL_IEEE_REV_TO_FWD)(
|
||||
(NTAPI *PPARALLEL_IEEE_REV_TO_FWD)(
|
||||
IN PVOID Context);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PPARALLEL_READ)(
|
||||
(NTAPI *PPARALLEL_READ)(
|
||||
IN PVOID Context,
|
||||
OUT PVOID Buffer,
|
||||
IN ULONG NumBytesToRead,
|
||||
|
@ -229,7 +229,7 @@ typedef NTSTATUS
|
|||
IN UCHAR Channel);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PPARALLEL_WRITE)(
|
||||
(NTAPI *PPARALLEL_WRITE)(
|
||||
IN PVOID Context,
|
||||
OUT PVOID Buffer,
|
||||
IN ULONG NumBytesToWrite,
|
||||
|
@ -237,12 +237,12 @@ typedef NTSTATUS
|
|||
IN UCHAR Channel);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PPARALLEL_TRYSELECT_DEVICE)(
|
||||
(NTAPI *PPARALLEL_TRYSELECT_DEVICE)(
|
||||
IN PVOID Context,
|
||||
IN PARALLEL_1284_COMMAND Command);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PPARALLEL_DESELECT_DEVICE)(
|
||||
(NTAPI *PPARALLEL_DESELECT_DEVICE)(
|
||||
IN PVOID Context,
|
||||
IN PARALLEL_1284_COMMAND Command);
|
||||
|
||||
|
|
|
@ -61,13 +61,13 @@ typedef struct _SCSIWMIGUIDREGINFO {
|
|||
} SCSIWMIGUIDREGINFO, *PSCSIWMIGUIDREGINFO;
|
||||
|
||||
typedef UCHAR
|
||||
(DDKAPI *PSCSIWMI_QUERY_REGINFO)(
|
||||
(NTAPI *PSCSIWMI_QUERY_REGINFO)(
|
||||
IN PVOID DeviceContext,
|
||||
IN PSCSIWMI_REQUEST_CONTEXT RequestContext,
|
||||
OUT PWCHAR *MofResourceName);
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PSCSIWMI_QUERY_DATABLOCK)(
|
||||
(NTAPI *PSCSIWMI_QUERY_DATABLOCK)(
|
||||
IN PVOID Context,
|
||||
IN PSCSIWMI_REQUEST_CONTEXT DispatchContext,
|
||||
IN ULONG GuidIndex,
|
||||
|
@ -78,7 +78,7 @@ typedef BOOLEAN
|
|||
OUT PUCHAR Buffer);
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PSCSIWMI_SET_DATABLOCK)(
|
||||
(NTAPI *PSCSIWMI_SET_DATABLOCK)(
|
||||
IN PVOID DeviceContext,
|
||||
IN PSCSIWMI_REQUEST_CONTEXT RequestContext,
|
||||
IN ULONG GuidIndex,
|
||||
|
@ -87,7 +87,7 @@ typedef BOOLEAN
|
|||
IN PUCHAR Buffer);
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PSCSIWMI_SET_DATAITEM)(
|
||||
(NTAPI *PSCSIWMI_SET_DATAITEM)(
|
||||
IN PVOID DeviceContext,
|
||||
IN PSCSIWMI_REQUEST_CONTEXT RequestContext,
|
||||
IN ULONG GuidIndex,
|
||||
|
@ -97,7 +97,7 @@ typedef BOOLEAN
|
|||
IN PUCHAR Buffer);
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PSCSIWMI_EXECUTE_METHOD)(
|
||||
(NTAPI *PSCSIWMI_EXECUTE_METHOD)(
|
||||
IN PVOID DeviceContext,
|
||||
IN PSCSIWMI_REQUEST_CONTEXT RequestContext,
|
||||
IN ULONG GuidIndex,
|
||||
|
@ -113,7 +113,7 @@ typedef enum _SCSIWMI_ENABLE_DISABLE_CONTROL {
|
|||
} SCSIWMI_ENABLE_DISABLE_CONTROL;
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PSCSIWMI_FUNCTION_CONTROL)(
|
||||
(NTAPI *PSCSIWMI_FUNCTION_CONTROL)(
|
||||
IN PVOID DeviceContext,
|
||||
IN PSCSIWMI_REQUEST_CONTEXT RequestContext,
|
||||
IN ULONG GuidIndex,
|
||||
|
@ -133,7 +133,7 @@ typedef struct _SCSIWMILIB_CONTEXT {
|
|||
|
||||
SCSIPORTAPI
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWmiDispatchFunction(
|
||||
IN PSCSI_WMILIB_CONTEXT WmiLibInfo,
|
||||
IN UCHAR MinorFunction,
|
||||
|
@ -176,7 +176,7 @@ ScsiPortWmiDispatchFunction(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWmiPostProcess(
|
||||
IN PSCSIWMI_REQUEST_CONTEXT RequestContext,
|
||||
IN UCHAR SrbStatus,
|
||||
|
@ -184,7 +184,7 @@ ScsiPortWmiPostProcess(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWmiFireLogicalUnitEvent(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN UCHAR PathId,
|
||||
|
|
|
@ -100,17 +100,17 @@ typedef struct _SMB_REGISTER_ALARM {
|
|||
#define SMB_CLASS_MINOR_VERSION 0x0000
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *SMB_RESET_DEVICE)(
|
||||
(NTAPI *SMB_RESET_DEVICE)(
|
||||
IN struct _SMB_CLASS *SmbClass,
|
||||
IN PVOID SmbMiniport);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *SMB_START_IO)(
|
||||
(NTAPI *SMB_START_IO)(
|
||||
IN struct _SMB_CLASS *SmbClass,
|
||||
IN PVOID SmbMiniport);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *SMB_STOP_DEVICE)(
|
||||
(NTAPI *SMB_STOP_DEVICE)(
|
||||
IN struct _SMB_CLASS *SmbClass,
|
||||
IN PVOID SmbMiniport);
|
||||
|
||||
|
@ -130,7 +130,7 @@ typedef struct _SMB_CLASS {
|
|||
|
||||
SMBCLASSAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
SmbClassAlarm(
|
||||
IN PSMB_CLASS SmbClass,
|
||||
IN UCHAR Address,
|
||||
|
@ -138,19 +138,19 @@ SmbClassAlarm(
|
|||
|
||||
SMBCLASSAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
SmbClassCompleteRequest(
|
||||
IN PSMB_CLASS SmbClass);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PSMB_INITIALIZE_MINIPORT)(
|
||||
(NTAPI *PSMB_INITIALIZE_MINIPORT)(
|
||||
IN PSMB_CLASS SmbClass,
|
||||
IN PVOID MiniportExtension,
|
||||
IN PVOID MiniportContext);
|
||||
|
||||
SMBCLASSAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
SmbClassCreateFdo(
|
||||
IN PDRIVER_OBJECT DriverObject,
|
||||
IN PDEVICE_OBJECT PDO,
|
||||
|
@ -161,7 +161,7 @@ SmbClassCreateFdo(
|
|||
|
||||
SMBCLASSAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
SmbClassInitializeDevice(
|
||||
IN ULONG MajorVersion,
|
||||
IN ULONG MinorVersion,
|
||||
|
@ -169,13 +169,13 @@ SmbClassInitializeDevice(
|
|||
|
||||
SMBCLASSAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
SmbClassLockDevice(
|
||||
IN PSMB_CLASS SmbClass);
|
||||
|
||||
SMBCLASSAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
SmbClassUnlockDevice(
|
||||
IN PSMB_CLASS SmbClass);
|
||||
|
||||
|
|
|
@ -301,13 +301,13 @@ typedef struct _SCSI_SUPPORTED_CONTROL_TYPE_LIST {
|
|||
} SCSI_SUPPORTED_CONTROL_TYPE_LIST, *PSCSI_SUPPORTED_CONTROL_TYPE_LIST;
|
||||
|
||||
typedef SCSI_ADAPTER_CONTROL_STATUS
|
||||
(DDKAPI *PHW_ADAPTER_CONTROL)(
|
||||
(NTAPI *PHW_ADAPTER_CONTROL)(
|
||||
IN PVOID DeviceExtension,
|
||||
IN SCSI_ADAPTER_CONTROL_TYPE ControlType,
|
||||
IN PVOID Parameters);
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PHW_ADAPTER_STATE)(
|
||||
(NTAPI *PHW_ADAPTER_STATE)(
|
||||
IN PVOID DeviceExtension,
|
||||
IN PVOID Context,
|
||||
IN BOOLEAN SaveState);
|
||||
|
@ -318,7 +318,7 @@ typedef BOOLEAN
|
|||
#define SP_RETURN_BAD_CONFIG 3
|
||||
|
||||
typedef ULONG
|
||||
(DDKAPI *PHW_FIND_ADAPTER)(
|
||||
(NTAPI *PHW_FIND_ADAPTER)(
|
||||
IN PVOID DeviceExtension,
|
||||
IN PVOID HwContext,
|
||||
IN PVOID BusInformation,
|
||||
|
@ -327,29 +327,29 @@ typedef ULONG
|
|||
OUT PBOOLEAN Again);
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PHW_INITIALIZE)(
|
||||
(NTAPI *PHW_INITIALIZE)(
|
||||
IN PVOID DeviceExtension);
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PHW_INTERRUPT)(
|
||||
(NTAPI *PHW_INTERRUPT)(
|
||||
IN PVOID DeviceExtension);
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PHW_RESET_BUS)(
|
||||
(NTAPI *PHW_RESET_BUS)(
|
||||
IN PVOID DeviceExtension,
|
||||
IN ULONG PathId);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *PHW_DMA_STARTED)(
|
||||
(NTAPI *PHW_DMA_STARTED)(
|
||||
IN PVOID DeviceExtension);
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PHW_STARTIO)(
|
||||
(NTAPI *PHW_STARTIO)(
|
||||
IN PVOID DeviceExtension,
|
||||
IN PSCSI_REQUEST_BLOCK Srb);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *PHW_TIMER)(
|
||||
(NTAPI *PHW_TIMER)(
|
||||
IN PVOID DeviceExtension);
|
||||
|
||||
typedef struct _HW_INITIALIZATION_DATA {
|
||||
|
@ -383,7 +383,7 @@ typedef struct _HW_INITIALIZATION_DATA {
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortCompleteRequest(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN UCHAR PathId,
|
||||
|
@ -400,26 +400,26 @@ ScsiPortCompleteRequest(
|
|||
|
||||
SCSIPORTAPI
|
||||
SCSI_PHYSICAL_ADDRESS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortConvertUlongToPhysicalAddress(
|
||||
IN ULONG UlongAddress);
|
||||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortFlushDma(
|
||||
IN PVOID DeviceExtension);
|
||||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortFreeDeviceBase(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PVOID MappedAddress);
|
||||
|
||||
SCSIPORTAPI
|
||||
ULONG
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortGetBusData(
|
||||
IN PVOID DeviceExtension,
|
||||
IN ULONG BusDataType,
|
||||
|
@ -430,7 +430,7 @@ ScsiPortGetBusData(
|
|||
|
||||
SCSIPORTAPI
|
||||
PVOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortGetDeviceBase(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN INTERFACE_TYPE BusType,
|
||||
|
@ -441,7 +441,7 @@ ScsiPortGetDeviceBase(
|
|||
|
||||
SCSIPORTAPI
|
||||
PVOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortGetLogicalUnit(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN UCHAR PathId,
|
||||
|
@ -450,7 +450,7 @@ ScsiPortGetLogicalUnit(
|
|||
|
||||
SCSIPORTAPI
|
||||
SCSI_PHYSICAL_ADDRESS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortGetPhysicalAddress(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PSCSI_REQUEST_BLOCK Srb OPTIONAL,
|
||||
|
@ -459,7 +459,7 @@ ScsiPortGetPhysicalAddress(
|
|||
|
||||
SCSIPORTAPI
|
||||
PSCSI_REQUEST_BLOCK
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortGetSrb(
|
||||
IN PVOID DeviceExtension,
|
||||
IN UCHAR PathId,
|
||||
|
@ -469,7 +469,7 @@ ScsiPortGetSrb(
|
|||
|
||||
SCSIPORTAPI
|
||||
PVOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortGetUncachedExtension(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PPORT_CONFIGURATION_INFORMATION ConfigInfo,
|
||||
|
@ -477,14 +477,14 @@ ScsiPortGetUncachedExtension(
|
|||
|
||||
SCSIPORTAPI
|
||||
PVOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortGetVirtualAddress(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN SCSI_PHYSICAL_ADDRESS PhysicalAddress);
|
||||
|
||||
SCSIPORTAPI
|
||||
ULONG
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortInitialize(
|
||||
IN PVOID Argument1,
|
||||
IN PVOID Argument2,
|
||||
|
@ -493,7 +493,7 @@ ScsiPortInitialize(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortIoMapTransfer(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PSCSI_REQUEST_BLOCK Srb,
|
||||
|
@ -502,7 +502,7 @@ ScsiPortIoMapTransfer(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortLogError(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PSCSI_REQUEST_BLOCK Srb OPTIONAL,
|
||||
|
@ -514,7 +514,7 @@ ScsiPortLogError(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortMoveMemory(
|
||||
IN PVOID WriteBuffer,
|
||||
IN PVOID ReadBuffer,
|
||||
|
@ -522,7 +522,7 @@ ScsiPortMoveMemory(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKCDECLAPI
|
||||
__cdecl
|
||||
ScsiPortNotification(
|
||||
IN SCSI_NOTIFICATION_TYPE NotificationType,
|
||||
IN PVOID HwDeviceExtension,
|
||||
|
@ -530,13 +530,13 @@ ScsiPortNotification(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortQuerySystemTime(
|
||||
OUT PLARGE_INTEGER CurrentTime);
|
||||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortReadPortBufferUchar(
|
||||
IN PUCHAR Port,
|
||||
IN PUCHAR Buffer,
|
||||
|
@ -544,7 +544,7 @@ ScsiPortReadPortBufferUchar(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortReadPortBufferUlong(
|
||||
IN PULONG Port,
|
||||
IN PULONG Buffer,
|
||||
|
@ -552,7 +552,7 @@ ScsiPortReadPortBufferUlong(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortReadPortBufferUshort(
|
||||
IN PUSHORT Port,
|
||||
IN PUSHORT Buffer,
|
||||
|
@ -560,25 +560,25 @@ ScsiPortReadPortBufferUshort(
|
|||
|
||||
SCSIPORTAPI
|
||||
UCHAR
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortReadPortUchar(
|
||||
IN PUCHAR Port);
|
||||
|
||||
SCSIPORTAPI
|
||||
ULONG
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortReadPortUlong(
|
||||
IN PULONG Port);
|
||||
|
||||
SCSIPORTAPI
|
||||
USHORT
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortReadPortUshort(
|
||||
IN PUSHORT Port);
|
||||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortReadRegisterBufferUchar(
|
||||
IN PUCHAR Register,
|
||||
IN PUCHAR Buffer,
|
||||
|
@ -586,7 +586,7 @@ ScsiPortReadRegisterBufferUchar(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortReadRegisterBufferUlong(
|
||||
IN PULONG Register,
|
||||
IN PULONG Buffer,
|
||||
|
@ -594,7 +594,7 @@ ScsiPortReadRegisterBufferUlong(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortReadRegisterBufferUshort(
|
||||
IN PUSHORT Register,
|
||||
IN PUSHORT Buffer,
|
||||
|
@ -602,25 +602,25 @@ ScsiPortReadRegisterBufferUshort(
|
|||
|
||||
SCSIPORTAPI
|
||||
UCHAR
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortReadRegisterUchar(
|
||||
IN PUCHAR Register);
|
||||
|
||||
SCSIPORTAPI
|
||||
ULONG
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortReadRegisterUlong(
|
||||
IN PULONG Register);
|
||||
|
||||
SCSIPORTAPI
|
||||
USHORT
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortReadRegisterUshort(
|
||||
IN PUSHORT Register);
|
||||
|
||||
SCSIPORTAPI
|
||||
ULONG
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortSetBusDataByOffset(
|
||||
IN PVOID DeviceExtension,
|
||||
IN ULONG BusDataType,
|
||||
|
@ -632,13 +632,13 @@ ScsiPortSetBusDataByOffset(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortStallExecution(
|
||||
IN ULONG Delay);
|
||||
|
||||
SCSIPORTAPI
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortValidateRange(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN INTERFACE_TYPE BusType,
|
||||
|
@ -649,7 +649,7 @@ ScsiPortValidateRange(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWritePortBufferUchar(
|
||||
IN PUCHAR Port,
|
||||
IN PUCHAR Buffer,
|
||||
|
@ -657,7 +657,7 @@ ScsiPortWritePortBufferUchar(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWritePortBufferUlong(
|
||||
IN PULONG Port,
|
||||
IN PULONG Buffer,
|
||||
|
@ -665,7 +665,7 @@ ScsiPortWritePortBufferUlong(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWritePortBufferUshort(
|
||||
IN PUSHORT Port,
|
||||
IN PUSHORT Buffer,
|
||||
|
@ -673,28 +673,28 @@ ScsiPortWritePortBufferUshort(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWritePortUchar(
|
||||
IN PUCHAR Port,
|
||||
IN UCHAR Value);
|
||||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWritePortUlong(
|
||||
IN PULONG Port,
|
||||
IN ULONG Value);
|
||||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWritePortUshort(
|
||||
IN PUSHORT Port,
|
||||
IN USHORT Value);
|
||||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWriteRegisterBufferUchar(
|
||||
IN PUCHAR Register,
|
||||
IN PUCHAR Buffer,
|
||||
|
@ -702,7 +702,7 @@ ScsiPortWriteRegisterBufferUchar(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWriteRegisterBufferUlong(
|
||||
IN PULONG Register,
|
||||
IN PULONG Buffer,
|
||||
|
@ -710,7 +710,7 @@ ScsiPortWriteRegisterBufferUlong(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWriteRegisterBufferUshort(
|
||||
IN PUSHORT Register,
|
||||
IN PUSHORT Buffer,
|
||||
|
@ -718,28 +718,28 @@ ScsiPortWriteRegisterBufferUshort(
|
|||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWriteRegisterUchar(
|
||||
IN PUCHAR Register,
|
||||
IN ULONG Value);
|
||||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWriteRegisterUlong(
|
||||
IN PULONG Register,
|
||||
IN ULONG Value);
|
||||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
ScsiPortWriteRegisterUshort(
|
||||
IN PUSHORT Register,
|
||||
IN USHORT Value);
|
||||
|
||||
SCSIPORTAPI
|
||||
VOID
|
||||
DDKCDECLAPI
|
||||
__cdecl
|
||||
ScsiDebugPrint(
|
||||
IN ULONG DebugPrintLevel,
|
||||
IN PCCHAR DebugMessage,
|
||||
|
|
|
@ -76,7 +76,7 @@ typedef struct _SCSI_WMI_REQUEST_BLOCK {
|
|||
|
||||
STORPORTAPI
|
||||
ULONG
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortInitialize(
|
||||
IN PVOID Argument1,
|
||||
IN PVOID Argument2,
|
||||
|
@ -85,14 +85,14 @@ StorPortInitialize(
|
|||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortFreeDeviceBase(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PVOID MappedAddress);
|
||||
|
||||
STORPORTAPI
|
||||
ULONG
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortGetBusData(
|
||||
IN PVOID DeviceExtension,
|
||||
IN ULONG BusDataType,
|
||||
|
@ -103,7 +103,7 @@ StorPortGetBusData(
|
|||
|
||||
STORPORTAPI
|
||||
ULONG
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortSetBusDataByOffset(
|
||||
IN PVOID DeviceExtension,
|
||||
IN ULONG BusDataType,
|
||||
|
@ -115,7 +115,7 @@ StorPortSetBusDataByOffset(
|
|||
|
||||
STORPORTAPI
|
||||
PVOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortGetDeviceBase(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN INTERFACE_TYPE BusType,
|
||||
|
@ -126,7 +126,7 @@ StorPortGetDeviceBase(
|
|||
|
||||
STORPORTAPI
|
||||
PVOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortGetLogicalUnit(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN UCHAR PathId,
|
||||
|
@ -135,7 +135,7 @@ StorPortGetLogicalUnit(
|
|||
|
||||
STORPORTAPI
|
||||
PSCSI_REQUEST_BLOCK
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortGetSrb(
|
||||
IN PVOID DeviceExtension,
|
||||
IN UCHAR PathId,
|
||||
|
@ -145,7 +145,7 @@ StorPortGetSrb(
|
|||
|
||||
STORPORTAPI
|
||||
STOR_PHYSICAL_ADDRESS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortGetPhysicalAddress(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PSCSI_REQUEST_BLOCK Srb,
|
||||
|
@ -154,14 +154,14 @@ StorPortGetPhysicalAddress(
|
|||
|
||||
STORPORTAPI
|
||||
PVOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortGetVirtualAddress(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN STOR_PHYSICAL_ADDRESS PhysicalAddress);
|
||||
|
||||
STORPORTAPI
|
||||
PVOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortGetUncachedExtension(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PPORT_CONFIGURATION_INFORMATION ConfigInfo,
|
||||
|
@ -169,7 +169,7 @@ StorPortGetUncachedExtension(
|
|||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKCDECLAPI
|
||||
__cdecl
|
||||
StorPortNotification(
|
||||
IN SCSI_NOTIFICATION_TYPE NotificationType,
|
||||
IN PVOID HwDeviceExtension,
|
||||
|
@ -177,7 +177,7 @@ StorPortNotification(
|
|||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortLogError(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PSCSI_REQUEST_BLOCK Srb OPTIONAL,
|
||||
|
@ -189,7 +189,7 @@ StorPortLogError(
|
|||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortCompleteRequest(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN UCHAR PathId,
|
||||
|
@ -199,7 +199,7 @@ StorPortCompleteRequest(
|
|||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortMoveMemory(
|
||||
IN PVOID WriteBuffer,
|
||||
IN PVOID ReadBuffer,
|
||||
|
@ -207,25 +207,25 @@ StorPortMoveMemory(
|
|||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortStallExecution(
|
||||
IN ULONG Delay);
|
||||
|
||||
STORPORTAPI
|
||||
STOR_PHYSICAL_ADDRESS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortConvertUlong64ToPhysicalAddress(
|
||||
IN ULONG64 UlongAddress);
|
||||
|
||||
STORPORTAPI
|
||||
ULONG64
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortConvertPhysicalAddressToUlong64(
|
||||
IN STOR_PHYSICAL_ADDRESS Address);
|
||||
|
||||
STORPORTAPI
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortValidateRange(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN INTERFACE_TYPE BusType,
|
||||
|
@ -236,7 +236,7 @@ StorPortValidateRange(
|
|||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKCDECLAPI
|
||||
__cdecl
|
||||
StorPortDebugPrint(
|
||||
IN ULONG DebugPrintLevel,
|
||||
IN PCCHAR DebugMessage,
|
||||
|
@ -244,85 +244,85 @@ StorPortDebugPrint(
|
|||
|
||||
STORPORTAPI
|
||||
UCHAR
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortReadPortUchar(
|
||||
IN PUCHAR Port);
|
||||
|
||||
STORPORTAPI
|
||||
ULONG
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortReadPortUlong(
|
||||
IN PULONG Port);
|
||||
|
||||
STORPORTAPI
|
||||
USHORT
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortReadPortUshort(
|
||||
IN PUSHORT Port);
|
||||
|
||||
STORPORTAPI
|
||||
UCHAR
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortReadRegisterUchar(
|
||||
IN PUCHAR Register);
|
||||
|
||||
STORPORTAPI
|
||||
ULONG
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortReadRegisterUlong(
|
||||
IN PULONG Register);
|
||||
|
||||
STORPORTAPI
|
||||
USHORT
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortReadRegisterUshort(
|
||||
IN PUSHORT Register);
|
||||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortWritePortUchar(
|
||||
IN PUCHAR Port,
|
||||
IN UCHAR Value);
|
||||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortWritePortUlong(
|
||||
IN PULONG Port,
|
||||
IN ULONG Value);
|
||||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortWritePortUshort(
|
||||
IN PUSHORT Port,
|
||||
IN USHORT Value);
|
||||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortWriteRegisterUchar(
|
||||
IN PUCHAR Port,
|
||||
IN UCHAR Value);
|
||||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortWriteRegisterUlong(
|
||||
IN PULONG Port,
|
||||
IN ULONG Value);
|
||||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortWriteRegisterUshort(
|
||||
IN PUSHORT Port,
|
||||
IN USHORT Value);
|
||||
|
||||
STORPORTAPI
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortPauseDevice(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN UCHAR PathId,
|
||||
|
@ -332,7 +332,7 @@ StorPortPauseDevice(
|
|||
|
||||
STORPORTAPI
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortResumeDevice(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN UCHAR PathId,
|
||||
|
@ -341,20 +341,20 @@ StorPortResumeDevice(
|
|||
|
||||
STORPORTAPI
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortPause(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN ULONG TimeOut);
|
||||
|
||||
STORPORTAPI
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortResume(
|
||||
IN PVOID HwDeviceExtension);
|
||||
|
||||
STORPORTAPI
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortDeviceBusy(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN UCHAR PathId,
|
||||
|
@ -364,7 +364,7 @@ StorPortDeviceBusy(
|
|||
|
||||
STORPORTAPI
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortDeviceReady(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN UCHAR PathId,
|
||||
|
@ -373,32 +373,32 @@ StorPortDeviceReady(
|
|||
|
||||
STORPORTAPI
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortBusy(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN ULONG RequestsToComplete);
|
||||
|
||||
STORPORTAPI
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortReady(
|
||||
IN PVOID HwDeviceExtension);
|
||||
|
||||
STORPORTAPI
|
||||
PSTOR_SCATTER_GATHER_LIST
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortGetScatterGatherList(
|
||||
IN PVOID DeviceExtension,
|
||||
IN PSCSI_REQUEST_BLOCK Srb);
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PSTOR_SYNCHRONIZED_ACCESS)(
|
||||
(NTAPI *PSTOR_SYNCHRONIZED_ACCESS)(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PVOID Context);
|
||||
|
||||
STORPORTAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
StorPortSynchronizeAccess(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PSTOR_SYNCHRONIZED_ACCESS SynchronizedAccessRoutine,
|
||||
|
|
|
@ -157,7 +157,7 @@ typedef struct _TDI_REQUEST_KERNEL_SET_INFO {
|
|||
#define TDI_EVENT_ERROR_EX 10
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PTDI_IND_CONNECT)(
|
||||
(NTAPI *PTDI_IND_CONNECT)(
|
||||
IN PVOID TdiEventContext,
|
||||
IN LONG RemoteAddressLength,
|
||||
IN PVOID RemoteAddress,
|
||||
|
@ -170,7 +170,7 @@ typedef NTSTATUS
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDefaultConnectHandler(
|
||||
IN PVOID TdiEventContext,
|
||||
IN LONG RemoteAddressLength,
|
||||
|
@ -183,7 +183,7 @@ TdiDefaultConnectHandler(
|
|||
OUT PIRP *AcceptIrp);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PTDI_IND_DISCONNECT)(
|
||||
(NTAPI *PTDI_IND_DISCONNECT)(
|
||||
IN PVOID TdiEventContext,
|
||||
IN CONNECTION_CONTEXT ConnectionContext,
|
||||
IN LONG DisconnectDataLength,
|
||||
|
@ -194,7 +194,7 @@ typedef NTSTATUS
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDefaultDisconnectHandler(
|
||||
IN PVOID TdiEventContext,
|
||||
IN CONNECTION_CONTEXT ConnectionContext,
|
||||
|
@ -205,25 +205,25 @@ TdiDefaultDisconnectHandler(
|
|||
IN ULONG DisconnectFlags);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PTDI_IND_ERROR)(
|
||||
(NTAPI *PTDI_IND_ERROR)(
|
||||
IN PVOID TdiEventContext,
|
||||
IN NTSTATUS Status);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PTDI_IND_ERROR_EX)(
|
||||
(NTAPI *PTDI_IND_ERROR_EX)(
|
||||
IN PVOID TdiEventContext,
|
||||
IN NTSTATUS Status,
|
||||
IN PVOID Buffer);
|
||||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDefaultErrorHandler(
|
||||
IN PVOID TdiEventContext,
|
||||
IN NTSTATUS Status);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PTDI_IND_RECEIVE)(
|
||||
(NTAPI *PTDI_IND_RECEIVE)(
|
||||
IN PVOID TdiEventContext,
|
||||
IN CONNECTION_CONTEXT ConnectionContext,
|
||||
IN ULONG ReceiveFlags,
|
||||
|
@ -235,7 +235,7 @@ typedef NTSTATUS
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDefaultReceiveHandler(
|
||||
IN PVOID TdiEventContext,
|
||||
IN CONNECTION_CONTEXT ConnectionContext,
|
||||
|
@ -247,7 +247,7 @@ TdiDefaultReceiveHandler(
|
|||
OUT PIRP *IoRequestPacket);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PTDI_IND_RECEIVE_DATAGRAM)(
|
||||
(NTAPI *PTDI_IND_RECEIVE_DATAGRAM)(
|
||||
IN PVOID TdiEventContext,
|
||||
IN LONG SourceAddressLength,
|
||||
IN PVOID SourceAddress,
|
||||
|
@ -261,7 +261,7 @@ typedef NTSTATUS
|
|||
OUT PIRP *IoRequestPacket);
|
||||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS DDKAPI
|
||||
NTSTATUS NTAPI
|
||||
TdiDefaultRcvDatagramHandler(
|
||||
IN PVOID TdiEventContext,
|
||||
IN LONG SourceAddressLength,
|
||||
|
@ -276,7 +276,7 @@ TdiDefaultRcvDatagramHandler(
|
|||
OUT PIRP *IoRequestPacket);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PTDI_IND_RECEIVE_EXPEDITED)(
|
||||
(NTAPI *PTDI_IND_RECEIVE_EXPEDITED)(
|
||||
IN PVOID TdiEventContext,
|
||||
IN CONNECTION_CONTEXT ConnectionContext,
|
||||
IN ULONG ReceiveFlags,
|
||||
|
@ -288,7 +288,7 @@ typedef NTSTATUS
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDefaultRcvExpeditedHandler(
|
||||
IN PVOID TdiEventContext,
|
||||
IN CONNECTION_CONTEXT ConnectionContext,
|
||||
|
@ -300,7 +300,7 @@ TdiDefaultRcvExpeditedHandler(
|
|||
OUT PIRP *IoRequestPacket);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PTDI_IND_CHAINED_RECEIVE)(
|
||||
(NTAPI *PTDI_IND_CHAINED_RECEIVE)(
|
||||
IN PVOID TdiEventContext,
|
||||
IN CONNECTION_CONTEXT ConnectionContext,
|
||||
IN ULONG ReceiveFlags,
|
||||
|
@ -311,7 +311,7 @@ typedef NTSTATUS
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDefaultChainedReceiveHandler(
|
||||
IN PVOID TdiEventContext,
|
||||
IN CONNECTION_CONTEXT ConnectionContext,
|
||||
|
@ -322,7 +322,7 @@ TdiDefaultChainedReceiveHandler(
|
|||
IN PVOID TsduDescriptor);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PTDI_IND_CHAINED_RECEIVE_DATAGRAM)(
|
||||
(NTAPI *PTDI_IND_CHAINED_RECEIVE_DATAGRAM)(
|
||||
IN PVOID TdiEventContext,
|
||||
IN LONG SourceAddressLength,
|
||||
IN PVOID SourceAddress,
|
||||
|
@ -336,7 +336,7 @@ typedef NTSTATUS
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDefaultChainedRcvDatagramHandler(
|
||||
IN PVOID TdiEventContext,
|
||||
IN LONG SourceAddressLength,
|
||||
|
@ -350,7 +350,7 @@ TdiDefaultChainedRcvDatagramHandler(
|
|||
IN PVOID TsduDescriptor);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PTDI_IND_CHAINED_RECEIVE_EXPEDITED)(
|
||||
(NTAPI *PTDI_IND_CHAINED_RECEIVE_EXPEDITED)(
|
||||
IN PVOID TdiEventContext,
|
||||
IN CONNECTION_CONTEXT ConnectionContext,
|
||||
IN ULONG ReceiveFlags,
|
||||
|
@ -361,7 +361,7 @@ typedef NTSTATUS
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDefaultChainedRcvExpeditedHandler(
|
||||
IN PVOID TdiEventContext,
|
||||
IN CONNECTION_CONTEXT ConnectionContext,
|
||||
|
@ -372,14 +372,14 @@ TdiDefaultChainedRcvExpeditedHandler(
|
|||
IN PVOID TsduDescriptor);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *PTDI_IND_SEND_POSSIBLE)(
|
||||
(NTAPI *PTDI_IND_SEND_POSSIBLE)(
|
||||
IN PVOID TdiEventContext,
|
||||
IN PVOID ConnectionContext,
|
||||
IN ULONG BytesAvailable);
|
||||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDefaultSendPossibleHandler(
|
||||
IN PVOID TdiEventContext,
|
||||
IN PVOID ConnectionContext,
|
||||
|
@ -611,7 +611,7 @@ TdiDefaultSendPossibleHandler(
|
|||
|
||||
TDIKRNLAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiBuildNetbiosAddress(
|
||||
IN PUCHAR NetbiosName,
|
||||
IN BOOLEAN IsGroupName,
|
||||
|
@ -619,7 +619,7 @@ TdiBuildNetbiosAddress(
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiBuildNetbiosAddressEa(
|
||||
IN PUCHAR Buffer,
|
||||
IN BOOLEAN IsGroupName,
|
||||
|
@ -869,48 +869,48 @@ typedef struct _TDI_PNP_CONTEXT {
|
|||
} TDI_PNP_CONTEXT, *PTDI_PNP_CONTEXT;
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *TDI_ADD_ADDRESS_HANDLER)(
|
||||
(NTAPI *TDI_ADD_ADDRESS_HANDLER)(
|
||||
IN PTA_ADDRESS Address);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *TDI_ADD_ADDRESS_HANDLER_V2)(
|
||||
(NTAPI *TDI_ADD_ADDRESS_HANDLER_V2)(
|
||||
IN PTA_ADDRESS Address,
|
||||
IN PUNICODE_STRING DeviceName,
|
||||
IN PTDI_PNP_CONTEXT Context);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *TDI_BINDING_HANDLER)(
|
||||
(NTAPI *TDI_BINDING_HANDLER)(
|
||||
IN TDI_PNP_OPCODE PnPOpcode,
|
||||
IN PUNICODE_STRING DeviceName,
|
||||
IN PWSTR MultiSZBindList);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *TDI_BIND_HANDLER)(
|
||||
(NTAPI *TDI_BIND_HANDLER)(
|
||||
IN PUNICODE_STRING DeviceName);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *TDI_DEL_ADDRESS_HANDLER)(
|
||||
(NTAPI *TDI_DEL_ADDRESS_HANDLER)(
|
||||
IN PTA_ADDRESS Address);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *TDI_DEL_ADDRESS_HANDLER_V2)(
|
||||
(NTAPI *TDI_DEL_ADDRESS_HANDLER_V2)(
|
||||
IN PTA_ADDRESS Address,
|
||||
IN PUNICODE_STRING DeviceName,
|
||||
IN PTDI_PNP_CONTEXT Context);
|
||||
|
||||
typedef NTSTATUS
|
||||
(DDKAPI *TDI_PNP_POWER_HANDLER)(
|
||||
(NTAPI *TDI_PNP_POWER_HANDLER)(
|
||||
IN PUNICODE_STRING DeviceName,
|
||||
IN PNET_PNP_EVENT PowerEvent,
|
||||
IN PTDI_PNP_CONTEXT Context1,
|
||||
IN PTDI_PNP_CONTEXT Context2);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *TDI_UNBIND_HANDLER)(
|
||||
(NTAPI *TDI_UNBIND_HANDLER)(
|
||||
IN PUNICODE_STRING DeviceName);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *ProviderPnPPowerComplete)(
|
||||
(NTAPI *ProviderPnPPowerComplete)(
|
||||
IN PNET_PNP_EVENT NetEvent,
|
||||
IN NTSTATUS ProviderStatus);
|
||||
|
||||
|
@ -964,7 +964,7 @@ typedef TDI_CLIENT_INTERFACE_INFO *PTDI_CLIENT_INTERFACE_INFO;
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiCopyBufferToMdl(
|
||||
IN PVOID SourceBuffer,
|
||||
IN ULONG SourceOffset,
|
||||
|
@ -986,7 +986,7 @@ TdiCopyBufferToMdl(
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiCopyMdlChainToMdlChain (
|
||||
IN PMDL SourceMdlChain,
|
||||
IN ULONG SourceOffset,
|
||||
|
@ -996,7 +996,7 @@ TdiCopyMdlChainToMdlChain (
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiCopyMdlToBuffer(
|
||||
IN PMDL SourceMdlChain,
|
||||
IN ULONG SourceOffset,
|
||||
|
@ -1007,55 +1007,55 @@ TdiCopyMdlToBuffer(
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDeregisterAddressChangeHandler(
|
||||
IN HANDLE BindingHandle);
|
||||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDeregisterDeviceObject(
|
||||
IN HANDLE DevRegistrationHandle);
|
||||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDeregisterNetAddress(
|
||||
IN HANDLE AddrRegistrationHandle);
|
||||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDeregisterPnPHandlers(
|
||||
IN HANDLE BindingHandle);
|
||||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiDeregisterProvider(
|
||||
IN HANDLE ProviderHandle);
|
||||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiEnumerateAddresses(
|
||||
IN HANDLE BindingHandle);
|
||||
|
||||
TDIKRNLAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiInitialize(
|
||||
VOID);
|
||||
|
||||
TDIKRNLAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiMapBuffer(
|
||||
IN PMDL MdlChain);
|
||||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiMapUserRequest(
|
||||
IN PDEVICE_OBJECT DeviceObject,
|
||||
IN PIRP Irp,
|
||||
|
@ -1063,14 +1063,14 @@ TdiMapUserRequest(
|
|||
|
||||
TDIKRNLAPI
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiMatchPdoWithChainedReceiveContext(
|
||||
IN PVOID TsduDescriptor,
|
||||
IN PVOID PDO);
|
||||
|
||||
TDIKRNLAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiPnPPowerComplete(
|
||||
IN HANDLE BindingHandle,
|
||||
IN PNET_PNP_EVENT PowerEvent,
|
||||
|
@ -1078,7 +1078,7 @@ TdiPnPPowerComplete(
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiPnPPowerRequest(
|
||||
IN PUNICODE_STRING DeviceName,
|
||||
IN PNET_PNP_EVENT PowerEvent,
|
||||
|
@ -1088,13 +1088,13 @@ TdiPnPPowerRequest(
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiProviderReady(
|
||||
IN HANDLE ProviderHandle);
|
||||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiRegisterAddressChangeHandler(
|
||||
IN TDI_ADD_ADDRESS_HANDLER AddHandler,
|
||||
IN TDI_DEL_ADDRESS_HANDLER DeleteHandler,
|
||||
|
@ -1102,14 +1102,14 @@ TdiRegisterAddressChangeHandler(
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiRegisterDeviceObject(
|
||||
IN PUNICODE_STRING DeviceName,
|
||||
OUT HANDLE *DevRegistrationHandle);
|
||||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiRegisterNetAddress(
|
||||
IN PTA_ADDRESS Address,
|
||||
IN PUNICODE_STRING DeviceName,
|
||||
|
@ -1118,7 +1118,7 @@ TdiRegisterNetAddress(
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiRegisterNotificationHandler(
|
||||
IN TDI_BIND_HANDLER BindHandler,
|
||||
IN TDI_UNBIND_HANDLER UnbindHandler,
|
||||
|
@ -1126,7 +1126,7 @@ TdiRegisterNotificationHandler(
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiRegisterPnPHandlers(
|
||||
IN PTDI_CLIENT_INTERFACE_INFO ClientInterfaceInfo,
|
||||
IN ULONG InterfaceInfoSize,
|
||||
|
@ -1134,21 +1134,21 @@ TdiRegisterPnPHandlers(
|
|||
|
||||
TDIKRNLAPI
|
||||
NTSTATUS
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiRegisterProvider(
|
||||
IN PUNICODE_STRING ProviderName,
|
||||
OUT HANDLE *ProviderHandle);
|
||||
|
||||
TDIKRNLAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiReturnChainedReceives(
|
||||
IN PVOID *TsduDescriptors,
|
||||
IN ULONG NumberOfTsdus);
|
||||
|
||||
TDIKRNLAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
TdiUnmapBuffer(
|
||||
IN PMDL MdlChain);
|
||||
|
||||
|
|
|
@ -42,12 +42,12 @@ extern "C" {
|
|||
|
||||
UPSAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
UPSCancelWait(VOID);
|
||||
|
||||
UPSAPI
|
||||
DWORD
|
||||
DDKAPI
|
||||
NTAPI
|
||||
UPSGetState(VOID);
|
||||
|
||||
#define UPS_INITUNKNOWNERROR 0
|
||||
|
@ -60,23 +60,23 @@ UPSGetState(VOID);
|
|||
|
||||
UPSAPI
|
||||
DWORD
|
||||
DDKAPI
|
||||
NTAPI
|
||||
UPSInit(VOID);
|
||||
|
||||
UPSAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
UPSStop(VOID);
|
||||
|
||||
UPSAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
UPSTurnOff(
|
||||
IN DWORD aTurnOffDelay);
|
||||
|
||||
UPSAPI
|
||||
VOID
|
||||
DDKAPI
|
||||
NTAPI
|
||||
UPSWaitForStateChange(
|
||||
IN DWORD aCurrentState,
|
||||
IN DWORD anInterval);
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -41,59 +41,59 @@ typedef enum _VIDEO_PORT_CACHE_TYPE {
|
|||
} VIDEO_PORT_CACHE_TYPE;
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PAGP_COMMIT_PHYSICAL)(
|
||||
(NTAPI *PAGP_COMMIT_PHYSICAL)(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PVOID PhysicalReserveContext,
|
||||
IN ULONG Pages,
|
||||
IN ULONG Offset);
|
||||
|
||||
typedef PVOID
|
||||
(DDKAPI *PAGP_COMMIT_VIRTUAL)(
|
||||
(NTAPI *PAGP_COMMIT_VIRTUAL)(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PVOID VirtualReserveContext,
|
||||
IN ULONG Pages,
|
||||
IN ULONG Offset);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *PAGP_FREE_PHYSICAL)(
|
||||
(NTAPI *PAGP_FREE_PHYSICAL)(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PVOID PhysicalReserveContext,
|
||||
IN ULONG Pages,
|
||||
IN ULONG Offset);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *PAGP_FREE_VIRTUAL)(
|
||||
(NTAPI *PAGP_FREE_VIRTUAL)(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PVOID VirtualReserveContext,
|
||||
IN ULONG Pages,
|
||||
IN ULONG Offset);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *PAGP_RELEASE_PHYSICAL)(
|
||||
(NTAPI *PAGP_RELEASE_PHYSICAL)(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PVOID PhysicalReserveContext);
|
||||
|
||||
typedef VOID
|
||||
(DDKAPI *PAGP_RELEASE_VIRTUAL)(
|
||||
(NTAPI *PAGP_RELEASE_VIRTUAL)(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PVOID VirtualReserveContext);
|
||||
|
||||
typedef PHYSICAL_ADDRESS
|
||||
(DDKAPI *PAGP_RESERVE_PHYSICAL)(
|
||||
(NTAPI *PAGP_RESERVE_PHYSICAL)(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN ULONG Pages,
|
||||
IN VIDEO_PORT_CACHE_TYPE Caching,
|
||||
OUT PVOID *PhysicalReserveContext);
|
||||
|
||||
typedef PVOID
|
||||
(DDKAPI *PAGP_RESERVE_VIRTUAL)(
|
||||
(NTAPI *PAGP_RESERVE_VIRTUAL)(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN HANDLE ProcessHandle,
|
||||
IN PVOID PhysicalReserveContext,
|
||||
OUT PVOID *VirtualReserveContext);
|
||||
|
||||
typedef BOOLEAN
|
||||
(DDKAPI *PAGP_SET_RATE)(
|
||||
(NTAPI *PAGP_SET_RATE)(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN ULONG AgpRate);
|
||||
|
||||
|
@ -111,7 +111,7 @@ typedef struct _VIDEO_PORT_AGP_SERVICES {
|
|||
|
||||
VPAPI
|
||||
BOOLEAN
|
||||
DDKAPI
|
||||
NTAPI
|
||||
VideoPortGetAgpServices(
|
||||
IN PVOID HwDeviceExtension,
|
||||
IN PVIDEO_PORT_AGP_SERVICES AgpServices);
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -30,6 +30,14 @@ typedef NTSTATUS
|
|||
OUT PUNICODE_STRING *RegistryPath OPTIONAL,
|
||||
IN OUT PUNICODE_STRING MofResourceName,
|
||||
OUT PDEVICE_OBJECT *Pdo OPTIONAL);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PWMI_FUNCTION_CONTROL) (
|
||||
IN OUT PDEVICE_OBJECT DeviceObject,
|
||||
IN OUT PIRP Irp,
|
||||
IN ULONG GuidIndex,
|
||||
IN WMIENABLEDISABLECONTROL Function,
|
||||
IN BOOLEAN Enable);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PWMI_QUERY_DATABLOCK) (
|
||||
|
@ -42,6 +50,17 @@ typedef NTSTATUS
|
|||
IN ULONG BufferAvail,
|
||||
OUT PUCHAR Buffer OPTIONAL);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PWMI_EXECUTE_METHOD) (
|
||||
IN OUT PDEVICE_OBJECT DeviceObject,
|
||||
IN OUT PIRP Irp,
|
||||
IN ULONG GuidIndex,
|
||||
IN ULONG InstanceIndex,
|
||||
IN ULONG MethodId,
|
||||
IN ULONG InBufferSize,
|
||||
IN ULONG OutBufferSize,
|
||||
IN OUT PUCHAR Buffer);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PWMI_SET_DATABLOCK) (
|
||||
IN OUT PDEVICE_OBJECT DeviceObject,
|
||||
|
@ -61,25 +80,6 @@ typedef NTSTATUS
|
|||
IN ULONG BufferSize,
|
||||
IN PUCHAR Buffer);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PWMI_EXECUTE_METHOD) (
|
||||
IN OUT PDEVICE_OBJECT DeviceObject,
|
||||
IN OUT PIRP Irp,
|
||||
IN ULONG GuidIndex,
|
||||
IN ULONG InstanceIndex,
|
||||
IN ULONG MethodId,
|
||||
IN ULONG InBufferSize,
|
||||
IN ULONG OutBufferSize,
|
||||
IN OUT PUCHAR Buffer);
|
||||
|
||||
typedef NTSTATUS
|
||||
(NTAPI *PWMI_FUNCTION_CONTROL) (
|
||||
IN OUT PDEVICE_OBJECT DeviceObject,
|
||||
IN OUT PIRP Irp,
|
||||
IN ULONG GuidIndex,
|
||||
IN WMIENABLEDISABLECONTROL Function,
|
||||
IN BOOLEAN Enable);
|
||||
|
||||
typedef struct _WMILIB_CONTEXT {
|
||||
ULONG GuidCount;
|
||||
PWMIGUIDREGINFO GuidList;
|
||||
|
|
|
@ -546,17 +546,6 @@ typedef enum _KAPC_ENVIRONMENT
|
|||
InsertApcEnvironment
|
||||
} KAPC_ENVIRONMENT;
|
||||
|
||||
//
|
||||
// CPU Cache Types
|
||||
//
|
||||
typedef enum _PROCESSOR_CACHE_TYPE
|
||||
{
|
||||
CacheUnified,
|
||||
CacheInstruction,
|
||||
CacheData,
|
||||
CacheTrace,
|
||||
} PROCESSOR_CACHE_TYPE;
|
||||
|
||||
//
|
||||
// PRCB DPC Data
|
||||
//
|
||||
|
@ -577,18 +566,6 @@ typedef struct _PP_LOOKASIDE_LIST
|
|||
struct _GENERAL_LOOKASIDE *L;
|
||||
} PP_LOOKASIDE_LIST, *PPP_LOOKASIDE_LIST;
|
||||
|
||||
//
|
||||
// CPU Cache Descriptor
|
||||
//
|
||||
typedef struct _CACHE_DESCRIPTOR
|
||||
{
|
||||
UCHAR Level;
|
||||
UCHAR Associativity;
|
||||
USHORT LineSize;
|
||||
ULONG Size;
|
||||
PROCESSOR_CACHE_TYPE Type;
|
||||
} CACHE_DESCRIPTOR, *PCACHE_DESCRIPTOR;
|
||||
|
||||
//
|
||||
// Architectural Types
|
||||
//
|
||||
|
|
|
@ -19,6 +19,10 @@
|
|||
#define GDI_HANDLE_BUFFER_SIZE 34
|
||||
#endif
|
||||
|
||||
#if defined(_NTDDK_INCLUDED_) || defined(_NTIFS_)
|
||||
#define PPEB PPEB_RENAMED
|
||||
#endif
|
||||
|
||||
typedef struct STRUCT(_PEB)
|
||||
{
|
||||
BOOLEAN InheritedAddressSpace;
|
||||
|
@ -152,6 +156,7 @@ typedef struct STRUCT(_PEB)
|
|||
#endif
|
||||
} STRUCT(PEB), *STRUCT(PPEB);
|
||||
|
||||
#undef PPEB
|
||||
|
||||
#if defined(_WIN64) && !defined(EXPLICIT_32BIT)
|
||||
C_ASSERT(FIELD_OFFSET(STRUCT(PEB), Mutant) == 0x08);
|
||||
|
|
|
@ -1690,6 +1690,18 @@ RtlDuplicateUnicodeString(
|
|||
OUT PUNICODE_STRING DestinationString
|
||||
);
|
||||
|
||||
//
|
||||
// Memory Functions
|
||||
//
|
||||
NTSYSAPI
|
||||
VOID
|
||||
NTAPI
|
||||
RtlFillMemoryUlong(
|
||||
IN PVOID Destination,
|
||||
IN ULONG Length,
|
||||
IN ULONG Fill
|
||||
);
|
||||
|
||||
#endif
|
||||
|
||||
NTSYSAPI
|
||||
|
@ -1912,18 +1924,6 @@ RtlLookupAtomInAtomTable(
|
|||
OUT PRTL_ATOM Atom
|
||||
);
|
||||
|
||||
//
|
||||
// Memory Functions
|
||||
//
|
||||
NTSYSAPI
|
||||
VOID
|
||||
NTAPI
|
||||
RtlFillMemoryUlong(
|
||||
IN PVOID Destination,
|
||||
IN ULONG Length,
|
||||
IN ULONG Fill
|
||||
);
|
||||
|
||||
//
|
||||
// Process Management Functions
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue