 
 
 
call "PC_WIN_CHAR_TO_OEM" using     srcbuff
                                    tgtbuff
                          by value  srclen
                                    tgtlen
                          returning status-code
 
    | Using call prototype (see Key) | Picture | |
|---|---|---|
| srcbuff | pic x(n). | pic x(n). | 
| tgtbuff | pic x(n). | pic x(n). | 
| srclen | cblt-os-size | pic x(4) comp-5 or pic x(8) comp-5 (64-bit native programs only) | 
| tgtlen | cblt-os-size | pic x(4) comp-5 or pic x(8) comp-5 (64-bit native programs only) | 
| status-code | See Library Routines - Key | 
 
 
 
Comments:
If status-code is non-zero, then the call failed due to the target buffer being of insufficient size.