Parameters

hWnd identifies the current window of the application.

lpsTarget points to the target (translated) string

lpsSource points to the source (EBCDIC) string to convert.

wSource identifies the length of the source string in bytes

lpwTarget points to a word variable containing the size of the target buffer. This variable will be updated with the total number of translated characters in the target buffer.