Jump to content

MMIOINFO

From EDM2
(Redirected from PMMIOINFO)

This structure contains the current state information of an open file. It is returned on the mmioGetInfo function and used on the mmioSetInfo function.

typedef struct _MMIOINFO {
  ULONG         ulFlags;           /*  Open flags. */
  FOURCC        fccIOProc;         /*  FOURCC of the IOProc to use. */
  PMMIOPROC     pIOProc;           /*  Function pointer to IOProc to use. */
  ULONG         ulErrorRet;        /*  Extended error return code. */
  LONG          cchBuffer;         /*  I/O buffer size (if used). */
  PCHAR         pchBuffer;         /*  Start of I/O buffer. */
  PCHAR         pchNext;           /*  Next byte to read or write in buffer. */
  PCHAR         pchEndRead;        /*  Last byte in buffer can be read. */
  PCHAR         pchEndWrite;       /*  Last byte in buffer can be written. */
  LONG          lBufOffset;        /*  Offset in buffer to pchNext. */
  LONG          lDiskOffset;       /*  Disk offset in file. */
  ULONG         aulInfo[4];        /*  IOProc specific field. */
  LONG          lLogicalFilePos;   /*  Actual file position, buffered or not. */
  ULONG         ulTranslate;       /*  Translation field. */
  FOURCC        fccChildIOProc;    /*  FOURCC of child IOProc. */
  PVOID         pExtraInfoStruct;  /*  Pointer to related structure. */
  HMMIO         hmmio;             /*  Handle to media element. */
} MMIOINFO;

typedef   MMIOINFO   * PMMIOINFO ;