Documentation ‎> ‎

Mapping Native Types to JNIWrapper Classes

Please find below the mappings table for most commonly used data types along with some comments.

Windows API includes many data types that are not listed here (for example, DWORD, HANDLE). If you need to use one of such types, read Windows-specific documentation such as MSDN to find out the actual C type that corresponds to it (for example, LPSTR corresponds to char*) and use the relevant JNIWrapper type for the argument. You can also check the Windows Data Types table that we have created for your reference.