Description:
This function is called to enable the OS/2 spooler.
Note: There is currently no support for using this API to remotely enable a print spooler.
#define INCL_SPL
#define INCL_SPLBIDI
#include <os2.h>
PSZ pszComputerName; /* Name of the computer on which to enable the spooler. */
PSZ pszDirectory; /* Name of the directory containing the spool files. */
PVOID pReserved; /* Must be NULL. Reserved for future use. */
ULONG rc; /* Return codes. */
rc = SplEnable(pszComputerName, pszDirectory,
pReserved);