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== ..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
This function provides the mechanism for loading a character from a string, taking into account DBCS considerations.  
This function provides the mechanism for loading a character from a string, taking into account DBCS considerations.


==Syntax==
==Syntax==
  FSH_LOADCHAR(ppStr, pChar)
  FSH_LOADCHAR(ppStr, pChar)
==Parameters==
==Parameters==
;ppStr: is a pointer to the character pointer of a string.  
;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.


:The character at this location will be retrieved and this pointer will be updated.  
==Returns==
There are no error returns.


;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==
==Calling Sequence==
<PRE>
<PRE>
Line 20: Line 20:
unsigned short far * pChar;
unsigned short far * pChar;
</PRE>
</PRE>
==Remarks==
==Remarks==
;Note: OS/2 does not validate input parameters. An FSD, therefore, should call FSH_PROBEBUF where appropriate.  
;Note: OS/2 does not validate input parameters. An FSD, therefore, should call FSH_PROBEBUF where appropriate.


[[Category:IFS Interfaces]]
[[Category:IFS Interfaces]]
{{DISPLAYTITLE:FSH_LOADCHAR}}
{{DISPLAYTITLE:FSH_LOADCHAR}}

Latest revision as of 04:50, 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.