pmmformatinfo (PMMFORMATINFO) - in/out

      A pointer to an MMFORMATINFO structure that might have optionally set the fccIOProc field (FOURCC code) or ulMediaType field (multimedia data type). These two fields provide the search criteria for matching an MMFORMATINFO structure. If both of these fields are NULL, then all I/O procedure MMFORMATINFO structures are returned, provided enough space is allocated for in the buffer pointed to by the pFormatInfoList parameter.

    lNumFormats (LONG) - input

      The maximum number of MMFORMATINFO structures that can be returned in the pFormatInfoList parameter buffer.

    pFormatInfoList (PVOID) - in/out

      Pointer to a buffer that will be filled with a list of matched MMFORMATINFO structures. The application needs to allocate enough memory to hold the requested number of structures.

    plFormatsRead (PLONG) - output

      Pointer to a LONG data type. Returns the number of formats that were returned in the pFormatInfoList parameter buffer.

    ulReserved (ULONG) - input

      Reserved for future use and must be set to zero.

    ulFlags (ULONG) - input

      Reserved for future use and must be set to zero.

    rc (ULONG) - returns

      Return codes indicating success or type of failure:

      MMIO_SUCCESS

        If the function succeeds, 0 is returned.
      MMIO_ERROR
        The function failed for a reason different from any of the following returns in this list.
      MMIOERR_INVALID_PARAMETER
        An invalid parameter was passed.
      MMIOERR_INTERNAL_SYSTEM
        An internal system error occurred.


      [Back] [Next]