NAME

examples/nci/win32api.pir - Win32 Example

SYNOPSIS

    % ./parrot examples/nci/win32api.pir

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.