Notes- Most pointer-type names begin with the prefix P or LP.
- Handles refer to a resource that has been loaded into the memory.
- Certain types may allow parameter representations different from the ones specified here.
- Pointers to simple types may need to be represented as arrays of those types.
- Representation of the Unicode-aware types such as LPTSTR or TCHAR depends on the actual type of the called function: use WideString (WideChar) when calling Unicode function version and AnsiString (Char) when calling ANSI version.
- Most Unicode versions of functions end with "W", and ANSI functions normally end with "A".
Data Types Windows Type | JNIWrapper Type | WinPack Type | ATOM | Int16 | Int16 | BOOL | Int | Int | BOOLEAN | Bool | Bool | BYTE | Int8 | Int8 | CHAR | Char | Char | COLORREF | ULongInt | ColorRef | CRITICAL_SECTION | Structure, see Windows documentation for member list | Structure, see Windows documentation for member list | DWORD | UInt32 | UInt32 | DWORD_PTR | UInt32, Pointer.Void | UInt32, Pointer.Void | DWORD32 | UInt32 | UInt32 | FLOAT | SingleFloat | SingleFloat | HACCEL | Pointer.Void | Handle | HANDLE | Pointer.Void | Handle | HBITMAP | Pointer.Void | Bitmap | HBRUSH | Pointer.Void | Brush | HCONV | Pointer.Void | Handle | HCONVLIST | Pointer.Void | Handle | HCURSOR | Pointer.Void | Cursor | HDC | Pointer.Void | DC | HDDEDATA | Pointer.Void | Handle | HDESK | Pointer.Void | Handle | HDROP | Pointer.Void | Handle | HDWP | Pointer.Void | Handle | HENHMETAFILE | Pointer.Void | Handle | HFILE | Pointer.Void | Handle | HFONT | Pointer.Void | Font | HGDIOBJ | Pointer.Void | GdiObject | HGLOBAL | Pointer.Void | Handle | HHOOK | Pointer.Void | Handle | HICON | Pointer.Void | Icon | HIMAGELIST | Pointer.Void | Handle | HIMC | Pointer.Void | Handle | HINSTANCE | Pointer.Void | Handle | HKEY | Pointer.Void | Handle | HKL | Pointer.Void | Handle | HLOCAL | Pointer.Void | Handle | HMENU | Pointer.Void | Handle | HMETAFILE | Pointer.Void | Handle | HMODULE | Pointer.Void | Module | HMONITOR | Pointer.Void | Handle | HPALETTE | Pointer.Void | Handle | HPEN | Pointer.Void | Handle | HRGN | Pointer.Void | Region | HRSRC | Pointer.Void | Handle | HSZ | Pointer.Void | Handle | HWINSTA | Pointer.Void | Handle | HWND | Pointer.Void | Wnd | INT | Int32 | Int32 | INT_PTR | Int32 | Int32 | INT32 | Int32 | Int32 | INT64 | Int64 | Int64 | LANGID | UInt16 | UInt16 | LCID | UInt32 | LocaleID | LCTYPE | UInt32 | UInt32 | LONG | Int32 | Int32 | LONG_PTR | Int32 | Int32 | LONG32 | Int32 | Int32 | LONG64 | Int64 | Int64 | LONGLONG | Int64 | Int64 | LPARAM | Int32 | Int32 | LPBOOL | Pointer(Int) | Pointer(Int) | LPBYTE | Pointer(Int8) | Pointer(Int8) | LPCOLORREF | Pointer(ULongInt) | Pointer(ColorRef) | LPCRITICAL_SECTION | Pointer(Structure), see Windows documentation for member list | Pointer(Structure), see Windows documentation for member list | LPCSTR | Pointer(AnsiString) | Pointer(AnsiString) | LPCTSTR | Str | Str | LPCVOID | Pointer.Void | Pointer.Void | LPCWSTR | Pointer(WideString) | Pointer(WideString) | LPDWORD | Pointer(UInt32) | Pointer(UInt32) | LPHANDLE | Pointer(Pointer.Void) | Pointer(Handle) | LPINT | Pointer(Int) | Pointer(Int) | LPLONG | Pointer(LongInt) | Pointer(LongInt) | LPSTR | Pointer(AnsiString) | Pointer(AnsiString) | LPTSTR | Str | Str | LPVOID | Pointer.Void | Handle | LPWORD | Pointer(UInt16) | Pointer(UInt16) | LPWSTR | Pointer(WideString) | Pointer(WideString) | LRESULT | Int32 | Int32 | LUID | Structure, see Windows documentation for member list | Structure, see Windows documentation for member list | PBOOL | Pointer(Int) | Pointer(Int) | PBOOLEAN | Pointer(Bool) | Pointer(Bool) | PBYTE | Pointer(Int8) | Pointer(Int8) | PCHAR | Pointer(Char), Pointer(AnsiString) | Pointer(Char), Pointer(AnsiString) | PCRITICAL_SECTION | Pointer(Structure), see Windows documentation for member list | Pointer(Structure), see Windows documentation for member list | PCSTR | Pointer(AnsiString) | Pointer(AnsiString) | PCTSTR | Str | Str | PCWCH | Str | Str | PCWSTR | Pointer(WideString) | Pointer(WideString) | PDWORD | Pointer(UInt32) | Pointer(UInt32) | PFLOAT Pointer(SingleFloat) | Pointer(SingleFloat) | | PHANDLE | Pointer(Pointer.Void) | Pointer(Handle) | PHKEY | Pointer(Pointer.Void) | Pointer(Handle) | PINT | Pointer(Int) | Pointer(Int) | PLCID | Pointer(UInt32) | Pointer(UInt32) | PLONG | Pointer(LongInt) | Pointer(LongInt) | PLUID | Pointer(Structure), see Windows documentation for member list | Pointer(Structure), see Windows documentation for member list | PSHORT | Pointer(ShortInt) | Pointer(ShortInt) | PSTR | Pointer(AnsiString) | Pointer(AnsiString) | PTBYTE | Str | Str | PTCHAR | Str | Str | PUCHAR | Pointer(Char) | Pointer(Char) | PUINT | Pointer(UInt) | Pointer(UInt) | PULONG | Pointer(ULongInt) | Pointer(ULongInt) | PUSHORT | Pointer(UShortInt) | Pointer(UShortInt) | PVOID | Pointer.Void | Handle | PWCHAR | Str | Str | PWORD | Pointer(UInt16) | Pointer(UInt16) | PWSTR | Pointer(WideString) | Pointer(WideString) | REGSAM | UInt32 | UInt32 | SC_HANDLE | Pointer.Void | Handle | SC_LOCK | Pointer.Void | Handle | SERVICE_STATUS_HANDLE | Pointer.Void | Handle | SHORT | ShortInt | ShortInt | SIZE_T | ULongInt | ULongInt | SSIZE_T | LongInt | LontInt | TBYTE | Char or WideChar | Char or WideChar | TCHAR | Char or WideChar | Char or WideChar | UCHAR | Char | Char | UINT | UInt | UInt | UINT_PTR | UInt | UInt | UINT32 | UInt32 | UInt32 | ULONG | ULongInt | ULongInt | ULONG_PTR | ULongInt | ULongInt | ULONG32 | UInt32 | UInt32 | ULONG64 | Int64 | Int64 | ULONGLONG | Int64 | Int64 | USHORT | UShortInt | UShortInt | WCHAR | WideChar | WideChar | WINAPI | Indicates stdcall calling convention | Indicates stdcall calling convention | WORD | UInt16 | UInt16 | WPARAM | UInt | UInt |
|
|