WinMMMciGetErrorString Method

Retrieves a string that describes the specified MCI error code.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("WinMM.dll", EntryPoint = "mciGetErrorString", CharSet = CharSet.Auto, 
	BestFitMapping = false, ThrowOnUnmappableChar = true, SetLastError = true)]
public static bool MciGetErrorString(
	int error,
	StringBuilder buffer,
	int length
)

Parameters

error  Int32

[Missing <param name="error"/> documentation for "M:DevCase.Win32.NativeMethods.WinMM.MciGetErrorString(System.Int32,System.Text.StringBuilder,System.Int32)"]

buffer  StringBuilder
T Pointer to a buffer that receives a null-terminated string describing the specified error.
length  Int32
T Length of the buffer, in characters, pointed to by the buffer parameter.

Return Value

Boolean
Returns if successful, or if the error code is not known.

Remarks

See Also