docs

Home Mailslots Overview All functions Categories

vuMailSlotLastError()

vuMailSlotLastError(), LONG

Description

Returns the native Windows error code captured by the most recent mailslot operation in the current process.

Parameters

Parameter Data Type Description
None   This function takes no parameters.

Returns

Example

Result = vuMailSlotSend(SlotName, Data, LEN(Data), 1)
IF Result = 0
  ErrNo = vuMailSlotLastError()
  MESSAGE('Windows error: ' & ErrNo)
END

Notes

Home Mailslots Overview All functions Categories