---
name: "mciSendString"
section: "3w"
platform: "linux"
package: "wine-doc"
version: "0.0.980315-1"
release: "Debian 2.0 (Hamm)"
platforms: ["linux"]
url: "https://new.carta.tech/mciSendString"
---

# mciSendString(3w)

mciSendString \[MMSYSTEM.702\]

## NAME

mciSendString - mciSendString			\[MMSYSTEM.702\]

## SYNOPSIS

**DWORD mciSendString**\
 **(**\
\
 	**LPCSTR lpstrCommand,**\
\
 	**LPSTR lpstrReturnString,**\
\
 	**UINT16 uReturnLength,**\
\
 	**HWND16 hwndCallback**\
 **);**

## DESCRIPTION

The usercode sends a string with a command (and flags) expressed in words in it... We do our best to call aprobiate drivers, and return a errorcode AND a readable string (if lpstrRS!=NULL) Info gathered by watching cool134.exe and from Borland's mcistrwh.hlp.

## FIXME

"All" is a valid devicetype and we should access all devices if it is used. (Imagine "close all"). Not implemented yet.

## SEE ALSO

[\_MCISTR\_determine\_timeformat(3w)](/_MCISTR_determine_timeformat/3w.md)
