NWUXSetUniFunctions
Specifies the functions to be used to handle unmappable
Unicode characters and special Unicode sequences during unicode-to-byte
conversion
- Local Servers:nonblocking
- Remote Servers:N/A
- NetWare Server:4.x, 5.x, 6.x
- Platform:NLM, Windows NT, Windows95,
Windows 98
- Library:Cross-Platform Localization
(LOC*.*)
- Service:Unicode
Syntax
#include <nunicode.h>
N_EXTERN_LIBRARY(nint) NWUXSetUniFunctions (
pCONVERT byteUniHandle,
NMUNI noMapUniFunc,
SCUNI scanUniFunc,
PRUNI parseUniFunc);
Pascal Syntax
uses netwin32
Function NWUXSetUniFunctions
(byteUniHandle : pCONVERT;
noMapUniFunc : NMUNI;
scanUniFunc : SCUNI;
parseUniFunc : PRUNI
): nint;
Parameters
- byteUniHandle
- (IN) Points to the converter handle.
- noMapUniFunc
- (IN) Specifies the Unicode function to be called
when unmappable Unicode characters are found.
- scanUniFunc
- (IN) Specifies the function to scan for special
Unicode sequences.
- parseUniFunc
- (IN) Specifies the function to parse special Unicode
sequences.
Remarks
NWUXSetUniFunctions will not set the action code to NWU_CALL_HANDLER.
Values for the noMapUniFunc, scanUniFunc,
and parseUniFunc parameters follow:
- NWU_RESET_TO_DEFAULT
resets the current setting to the default setting.
- NWU_UNCHANGED_FUNCTION leaves the current
setting unchanged.
See exsufunc.c for
sample code.