Jump to content

MMIOM CODEC DECOMPRESS: Difference between revisions

From EDM2
Created page with "{{DISPLAYTITLE:MMIOM_CODEC_DECOMPRESS}} This message requests the CODEC Proc to decompress the data. ==Syntax== <PRE> param1 PHCODEC phCODEC; Pointer to CODEC handle.: param2 USHORT usMsg; Set to MMIOM_CODEC_DECOMPRESS.: param3 LONG lParam1; Pointer to the MMVIDEODECOMPRESS structure.: param4 LONG lParam2; This parameter is not used.: </PRE> ==Parameters== ;''phCODEC'' (PHCODEC) - input :Pointer to CODEC handle. ;''usMsg'' (USHORT) - inp..."
(No difference)

Revision as of 01:58, 26 November 2025

This message requests the CODEC Proc to decompress the data.

Syntax

param1
PHCODEC phCODEC; /* Pointer to CODEC handle. */

param2
USHORT usMsg; /* Set to MMIOM_CODEC_DECOMPRESS. */

param3
LONG lParam1; /* Pointer to the MMVIDEODECOMPRESS structure. */

param4
LONG lParam2; /* This parameter is not used. */

Parameters

phCODEC (PHCODEC) - input
Pointer to CODEC handle.
usMsg (USHORT) - input
Set to **MMIOM_CODEC_DECOMPRESS**.
lParam1 (LONG) - input
Pointer to the MMVIDEODECOMPRESS structure.
lParam2 (LONG) - input
This parameter is not used.

Returns

rc (ULONG) - returns
Return codes indicating success or failure:
  • MMIO_SUCCESS The data is requested successfully.
  • MMIO_ERROR An error code is returned.
  • MMIOERR_ERROR_IN_FRAME_DATA An invalid frame was detected.
  • MMIOERR_INVALID_DIM_ALIGN An invalid pixel alignment was detected.

Remarks

This section has no remarks.