Parameters

hWnd identifies the current window of the application.

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

lpsTarget points to the target (translated) string.

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.