The mmioStringToFOURCC function converts a null-terminated string to a four-character code.
FOURCC mmioStringToFOURCC(
LPCSTR sz,
UINT wFlags
);
Returns the four-character code created from the given string.
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.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Import Library: Use winmm.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
Multimedia File I/O Overview, Multimedia File I/O Functions