Jump to content

FSH_LOADCHAR

From EDM2
Revision as of 04:50, 20 February 2020 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.