mciSendString function winmm
The mciSendString function sends a command string to an MCI device. The device that the command is sent to is specified in the command string.
MCIERROR mciSendStringW(
LPCTSTR lpszCommand,
LPTSTR lpszReturnString,
UINT cchReturn,
HANDLE hwndCallback
);
Implementation
int mciSendString(Pointer<Utf16> lpstrCommand, Pointer<Utf16> lpstrReturnString,
int uReturnLength, int hwndCallback) =>
_mciSendString(
lpstrCommand, lpstrReturnString, uReturnLength, hwndCallback);