GetCsvReturnCode()

Use this entry point to convert the primary and secondary return codes in the verb to a printable string. It returns a standard set of error strings for use by application programs.

Syntax

int WINAPI GetCsvReturnCode (struct csv_hdr *vcb,
                             UINT buffer_length,
                             unsigned char *buffer_addr);

Parameters

vcb
The address of the verb control block.
buffer_length
The length of the buffer pointed to by buffer_addr. The recommended length is 256.
buffer_addr
The address of the buffer that will hold the formatted, null-terminated string (length of the string in the specified buffer).

Returned Values

0x20000001
The parameters are not valid; the function could not read from the specified verb or could not write to the specified buffer.
0X20000002
The specified buffer is too small.

Usage Notes

The descriptive error string returned in buffer_addr does not terminate with a new line character (\n).