docs

Home Mailslots Overview All functions Categories

vuMailSlotLastErrorText(Buffer, BufferSize)

vuMailSlotLastErrorText(*CSTRING,LONG), Signed

Description

Writes readable Windows text for the most recently stored mailslot error into a caller-provided CSTRING.

Parameters

Parameter Data Type Description
Buffer CSTRING Destination CSTRING for the Windows error text.
BufferSize LONG Total size of Buffer. In Clarion, normally pass SIZE(Buffer).

Returns

Example

ErrNo = vuMailSlotLastError()
IF ErrNo
  IF vuMailSlotLastErrorText(ErrText, SIZE(ErrText))
    MESSAGE('Windows error ' & ErrNo & ': ' & ErrText)
  END
END

Notes

Home Mailslots Overview All functions Categories