WinAPI constants and types

PBInvoke library documetation > Reference > WinAPI constants and types

WinAPI is most widely used as external functions in PowerBuilder.

WinAPI constants

PBInvoke provides an object with many WinAPI constants, n_pi_winapi. The constants can be used without instantiation of the object via syntax:



lnv_SendMessage.of_invoke(Handle(w_win), n_pi_winapi.WM_KEYDOWN, 9 /*Tab*/, 0)

WinAPI types

PBInvoke has built-in support for the following WinAPI types:

See also

  • Calling DLL functions using PBInvoke
  • Handling strings (char*, wchar_t*)
  • Supported data types
  • Working with callbacks