You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
916 B
45 lines
916 B
|
|
/*
|
|
private api for ntmap to path an SG list
|
|
to sbp2port or usbstor
|
|
|
|
irpStack->Parameters.Others.Argument1
|
|
set to NTMAP_SCATTER_GATHER_SIG
|
|
|
|
irpStack->Parameters.Others.Argument2
|
|
set to PNTMAP_SG_REQUEST
|
|
|
|
*/
|
|
|
|
typedef struct _NTMAP_SG_REQUEST
|
|
{
|
|
PSCSI_REQUEST_BLOCK Srb;
|
|
SCATTER_GATHER_LIST SgList;
|
|
|
|
} NTMAP_SG_REQUEST, *PNTMAP_SG_REQUEST;
|
|
|
|
|
|
#define NTMAP_SCATTER_GATHER_SIG 'pmTN'
|
|
|
|
|
|
/*
|
|
|
|
from ntddk.h
|
|
|
|
typedef struct _SCATTER_GATHER_ELEMENT
|
|
{
|
|
PHYSICAL_ADDRESS Address;
|
|
ULONG Length;
|
|
ULONG_PTR Reserved;
|
|
|
|
} SCATTER_GATHER_ELEMENT, *PSCATTER_GATHER_ELEMENT;
|
|
|
|
typedef struct _SCATTER_GATHER_LIST
|
|
{
|
|
ULONG NumberOfElements;
|
|
ULONG_PTR Reserved;
|
|
SCATTER_GATHER_ELEMENT Elements[];
|
|
|
|
} SCATTER_GATHER_LIST, *PSCATTER_GATHER_LIST;
|
|
|
|
*/
|