This message requests the descriptive format name supported by the IOProc. It is recommended to contain the strings in resource files for NLS considerations.

The following example shows an example of how the M-Motion IOProc supports the MMIOM_GETFORMATNAME message.

case MMIOM_GETFORMATNAME:
    {
    LONG lBytesCopied;

    /************************************************************
     * Copy the M-Motion format string into buffer supplied by
     * lParam1.  Only put in the amount of my string up to the
     * allocated amount which is in lParam2.  Leave enough room
     * for the NULL termination.
     ************************************************************/
    lBytesCopied = GetFormatString( FOURCC_MMOT,
                                    (char *)lParam1,
                                    lParam2 );

    return (lBytesCopied);
    } /* end case of MMIOM_GETFORMATNAME */


[Back] [Next]