PC_WIN_CHAR_TO_OEM

Translates a buffer of ANSI characters into the OEM character set.

構文:
call "PC_WIN_CHAR_TO_OEM" using     srcbuff
                                    tgtbuff
                          by value  srclen
                                    tgtlen
                          returning status-code
パラメタ:
Using call prototype (see Key) Picture (32-bit systems)
srcbuff pic x(n). pic x(n).
tgtbuff pic x(n). pic x(n).
srclen cblt-os-size pic x(4) comp-5.
tgtlen cblt-os-size pic x(4) comp-5.
status-code See Key
入力パラメタ:
srcbuff Buffer of ANSI characters to be converted.
srclen Length of srcbuff. If this parameter is zero, then srcbuff is a null-terminated string all of which will be converted.
tgtlen Length of tgtbuff.
出力パラメタ:
tgtbuff Buffer of OEM characters converted from the ANSI input. This parameter must be at least as long as the number of characters in srcbuff. If srcbuff and tgtbuff are the same buffer, then the characters will be converted in place in the buffer.
説明:

If status-code is non-zero, then the call failed due to the target buffer being of insufficient size.

他参照:

関連項目