Jump to content

FSH LOADCHAR: Difference between revisions

From EDM2
Created page with "This function provides the mechanism for loading a character from a string, taking into account DBCS considerations. ==Syntax== FSH_LOADCHAR(ppStr, pChar) ==Parameters== ..."
(No difference)

Revision as of 04:39, 20 February 2020

This function provides the mechanism for loading a character from a string, taking into account DBCS considerations.

Syntax

FSH_LOADCHAR(ppStr, pChar)

Parameters

ppStr
is a pointer to the character pointer of a string.
The character at this location will be retrieved and this pointer will be updated.
pChar
is a pointer to the character returned.
If character is non-DBCS, the first byte will be the character and the second byte will be zero.

Returns

There are no error returns.

Calling Sequence

void far pascal FSH_LOADCHAR(ppStr, pChar)

char far * far * ppStr;
unsigned short far * pChar;

Remarks

Note
OS/2 does not validate input parameters. An FSD, therefore, should call FSH_PROBEBUF where appropriate.