NAME ^

examples/pni/win32api.imc - Win32 Example

SYNOPSIS ^

    % ./parrot examples/pni/win32api.imc

DESCRIPTION ^

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
    );

SEE ALSO ^

docs/pdds/pdd03_calling_conventions.pod.


parrot