mmioStringToFOURCC  1N914QM 

The mmioStringToFOURCC function converts a null-terminated string to a four-character code.

FOURCC mmioStringToFOURCC(

    LPCSTR sz,

 

        UINT wFlags

 

   );

 

 

Parameters

sz

Address of a null-terminated string to convert to a four-character code.

wFlags

Flags for the conversion. The following value is defined:

MMIO_TOUPPER

Converts all characters to uppercase.

 

Return Values

Returns the four-character code created from the given string.

Remarks

This function copies the string to a four-character code and pads it with space characters or truncates it if necessary. It does not check whether the code it returns is valid.