I am studying the DSM APIs and I am trying to understand how to use the API, QsnWrtSFMaj, to create checkbox, pushbuttons and etc ...

Based on this example, I tried to understand how the API works, but it was not clear how it works, because apparently in RPG less parameters are sent to the function, already in C, there are N parameters that are not clear what they are


This is function prototype:

    Q_Bin4 QsnWrtSFMaj(const char *,
                       Q_Bin4,
                       Q_Bin4,
                       Q_Bin4,
                       Q_Bin4,
                       Qsn_Cmd_Buf_T,
                       Qsn_Env_T,
                       Q_Fdbk_T *);

This is the function prototype, defined on QSNAPI.H
In the manual informs to check the tables in document SC30-3533, I found the table that contains the necessary information for the structure, but I still don't know exactly how to use this information ...
( manual: http://www.aibobar.de/file/SC30-3533-04.pdf , go to page 140 section "15.6.13.5 DEFINE SELECTION FIELD Structured Field")


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.