WinCvtGetErrorString

The WinCvtGetErrorString function translates a WINCVT_STATUS code into human-readable text.

WINCVT_STATUS
WinCvtGetErrorString(
  WINCVT_STATUS Error,  // The error code to convert.
  LPSTR szBuffer,       // The buffer to store the resulting string.
  DWORD BufferLength    // The length of the buffer.
);

Parameters

Error
The numeric error code returned by a WinCvt function.
szBuffer
Buffer to be filled with the error string.
BufferLength
The length of the buffer supplied in the szBuffer parameter.

Return Values

If the function succeeds, the return value is WINCVT_SUCCESS. If the function fails, the return value is the error code describing the failure. This code can be turned into a human readable string using the WinCvtGetErrorString.

Remarks

The WinCvtGetErrorString function translates a WINCVT_STATUS code into human-readable text.

QuickInfo

WinCvt: Requires 0.1.0.
Header: Declared in WinCvt.h.
Import Library: Use WinCvt.lib.

See Also

WinCvt Error Codes.