Jump to content

MMIOM_CODEC_COMPRESS

From EDM2
Revision as of 01:54, 26 November 2025 by Martini (talk | contribs) (Parameters)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message requests that data be compressed by the CODEC.

Syntax

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

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

param3
LONG lParam1; /* Pointer to an MMCOMPRESS structure. */

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

Parameters

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

Returns

rc (ULONG) - returns
Return codes indicating success or failure:
  • MMIO_SUCCESS The data is compressed successfully.
  • MMIO_ERROR An error code is returned.

Remarks

This section has no remarks.