Jump to content

SplQpInstall

From EDM2
Revision as of 18:33, 2 July 2023 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SplQpInstall allows the user to configure a queue driver. This function is optional.

Syntax

SplQpInstall(hwnd)

Parameters

hwnd (HWND) - input
The window handle.

Return Code

fSuccess (BOOL) - returns
Return codes.

On completion, the handling routine must return BOOLEAN (fSuccess).

  • TRUE Success
  • FALSE Error

Remarks

This function is called by the Workplace Shell. It is used to display a dialog to the user for queue driver (queue processor) configuration. The queue driver then stores the values in the OS2SYS.INI file.

Example Code

#include <os2.h>

HWND    hwnd;      /*  The window handle. */
BOOL    fSuccess;  /*  Return codes. */

fSuccess = SplQpInstall(hwnd);