| parrotcode: Win32 Example | |
| Contents | Examples |

examples/pni/win32api.imc - Win32 Example

% ./parrot examples/pni/win32api.imc

This example calls the MessageBoxA Win32 API using the Parrot Native Call Interface. The function is defined as:-
int MessageBox(
HWND hWnd,
LPCTSTR lpText,
LPCTSTR lpCaption,
UINT uType
);

|
|
|