ReactOS 0.4.16-dev-319-g6cf4263
|
#include "srb.h"
Go to the source code of this file.
Classes | |
struct | _SCSIWMI_REQUEST_CONTEXT |
struct | _GUID |
struct | _SCSIWMIGUIDREGINFO |
struct | _SCSIWMILIB_CONTEXT |
Macros | |
#define | _SCSIWMI_ |
#define | GUID_DEFINED |
#define | ScsiPortWmiFireAdapterEvent( HwDeviceExtension, Guid, InstanceIndex, EventDataSize, EventData) |
#define | ScsiPortWmiGetReturnSize(RequestContext) ((RequestContext)->ReturnSize) |
#define | ScsiPortWmiGetReturnStatus(RequestContext) ((RequestContext)->ReturnStatus) |
Enumerations | |
enum | _SCSIWMI_ENABLE_DISABLE_CONTROL { ScsiWmiEventControl , ScsiWmiDataBlockControl } |
Functions | |
_Must_inspect_result_ SCSIPORT_API BOOLEAN NTAPI | ScsiPortWmiDispatchFunction (_In_ PSCSI_WMILIB_CONTEXT WmiLibInfo, _In_ UCHAR MinorFunction, _In_ PVOID DeviceContext, _In_ PSCSIWMI_REQUEST_CONTEXT RequestContext, _In_ PVOID DataPath, _In_ ULONG BufferSize, _In_ PVOID Buffer) |
SCSIPORT_API VOID NTAPI | ScsiPortWmiPostProcess (_Inout_ PSCSIWMI_REQUEST_CONTEXT RequestContext, _In_ UCHAR SrbStatus, _In_ ULONG BufferUsed) |
SCSIPORT_API VOID NTAPI | ScsiPortWmiFireLogicalUnitEvent (_In_ PVOID HwDeviceExtension, _In_ UCHAR PathId, _In_ UCHAR TargetId, _In_ UCHAR Lun, _In_ LPGUID Guid, _In_ ULONG InstanceIndex, _In_ ULONG EventDataSize, _In_ PVOID EventData) |
#define ScsiPortWmiFireAdapterEvent | ( | HwDeviceExtension, | |
Guid, | |||
InstanceIndex, | |||
EventDataSize, | |||
EventData | |||
) |
#define ScsiPortWmiGetReturnSize | ( | RequestContext | ) | ((RequestContext)->ReturnSize) |
#define ScsiPortWmiGetReturnStatus | ( | RequestContext | ) | ((RequestContext)->ReturnStatus) |
typedef struct _SCSIWMILIB_CONTEXT * PSCSI_WMILIB_CONTEXT |
typedef _Must_inspect_result_ BOOLEAN(NTAPI * PSCSIWMI_EXECUTE_METHOD) (_In_ PVOID DeviceContext, _In_ PSCSIWMI_REQUEST_CONTEXT RequestContext, _In_ ULONG GuidIndex, _In_ ULONG InstanceIndex, _In_ ULONG MethodId, _In_ ULONG InBufferSize, _In_ ULONG OutBufferSize, _Inout_updates_bytes_to_(InBufferSize, OutBufferSize) PUCHAR Buffer) |
typedef _Must_inspect_result_ BOOLEAN(NTAPI * PSCSIWMI_FUNCTION_CONTROL) (_In_ PVOID DeviceContext, _In_ PSCSIWMI_REQUEST_CONTEXT RequestContext, _In_ ULONG GuidIndex, _In_ SCSIWMI_ENABLE_DISABLE_CONTROL Function, _In_ BOOLEAN Enable) |
typedef _Must_inspect_result_ BOOLEAN(NTAPI * PSCSIWMI_QUERY_DATABLOCK) (_In_ PVOID Context, _In_ PSCSIWMI_REQUEST_CONTEXT DispatchContext, _In_ ULONG GuidIndex, _In_ ULONG InstanceIndex, _In_ ULONG InstanceCount, _Inout_ PULONG InstanceLengthArray, _In_ ULONG BufferAvail, _Out_writes_bytes_(BufferAvail) PUCHAR Buffer) |
typedef _Must_inspect_result_ UCHAR(NTAPI * PSCSIWMI_QUERY_REGINFO) (_In_ PVOID DeviceContext, _In_ PSCSIWMI_REQUEST_CONTEXT RequestContext, _Out_ PWCHAR *MofResourceName) |
typedef _Must_inspect_result_ BOOLEAN(NTAPI * PSCSIWMI_SET_DATABLOCK) (_In_ PVOID DeviceContext, _In_ PSCSIWMI_REQUEST_CONTEXT RequestContext, _In_ ULONG GuidIndex, _In_ ULONG InstanceIndex, _In_ ULONG BufferSize, _In_reads_bytes_(BufferSize) PUCHAR Buffer) |
typedef _Must_inspect_result_ BOOLEAN(NTAPI * PSCSIWMI_SET_DATAITEM) (_In_ PVOID DeviceContext, _In_ PSCSIWMI_REQUEST_CONTEXT RequestContext, _In_ ULONG GuidIndex, _In_ ULONG InstanceIndex, _In_ ULONG DataItemId, _In_ ULONG BufferSize, _In_reads_bytes_(BufferSize) PUCHAR Buffer) |
typedef struct _SCSIWMIGUIDREGINFO * PSCSIWMIGUIDREGINFO |
Enumerator | |
---|---|
ScsiWmiEventControl | |
ScsiWmiDataBlockControl |
_Must_inspect_result_ SCSIPORT_API BOOLEAN NTAPI ScsiPortWmiDispatchFunction | ( | _In_ PSCSI_WMILIB_CONTEXT | WmiLibInfo, |
_In_ UCHAR | MinorFunction, | ||
_In_ PVOID | DeviceContext, | ||
_In_ PSCSIWMI_REQUEST_CONTEXT | RequestContext, | ||
_In_ PVOID | DataPath, | ||
_In_ ULONG | BufferSize, | ||
_In_ PVOID | Buffer | ||
) |
Referenced by BT958WmiSrb().
SCSIPORT_API VOID NTAPI ScsiPortWmiFireLogicalUnitEvent | ( | _In_ PVOID | HwDeviceExtension, |
_In_ UCHAR | PathId, | ||
_In_ UCHAR | TargetId, | ||
_In_ UCHAR | Lun, | ||
_In_ LPGUID | Guid, | ||
_In_ ULONG | InstanceIndex, | ||
_In_ ULONG | EventDataSize, | ||
_In_ PVOID | EventData | ||
) |
SCSIPORT_API VOID NTAPI ScsiPortWmiPostProcess | ( | _Inout_ PSCSIWMI_REQUEST_CONTEXT | RequestContext, |
_In_ UCHAR | SrbStatus, | ||
_In_ ULONG | BufferUsed | ||
) |
Referenced by BT958QueryWmiDataBlock().