次の方法で共有


SG_REQ (Compact 2013)

3/26/2014

This structure contains information that the FAT file system fills. The read and write IOCTLs use this structure.

Syntax

typedef struct _SG_REQ {
  DWORD sr_start;
  DWORD sr_num_sec;
  DWORD sr_num_sg;
  DWORD sr_status;
  PFN_REQDONE sr_callback;
  SG_BUF sr_sglist[1];
} SG_REQ, *PSG_REQ;

Members

  • sr_start
    The starting sector number relative to the beginning of the store.
  • sr_num_sec
    The number of sectors.
  • sr_num_sg
    Number of scatter or gather buffers, which is typically one. If sr_num_sg is greater than one, the block device driver should complete additional entries in the sr_sglist array.
  • sr_status
    Request status.
  • sr_callback
    Callback function for the request completion.
  • sr_sglist
    The first scatter/gather buffer.

Requirements

Header

diskio.h

See Also

Reference

Block Driver Structures
IOCTL_DISK_READ
IOCTL_DISK_WRITE