SplEnable
Appearance
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.
Syntax
SplEnable(pszComputerName, pszDirectory, pReserved)
Parameters
- pszComputerName (PSZ) - input
- Name of the computer on which to enable the spooler.
- This value currently must be NULL to enable the local spooler.
- pszDirectory (PSZ) - input
- Name of the directory containing the spool files.
- This value must currently be set to NULL to use the spooler directory as defined in the SYSTEM INI file.
- pReserved (PVOID) - input
- Must be NULL. Reserved for future use.
- rc (ULONG) - returns
- Return codes.
- 0 Success
- ERROR_INVALID_PARAMETER(87) An invalid buffer given.
- PMERR_SPL_ALREADY_INITIALIZED(0x4FFD) The spooler is already enabled.
- PMERR_SPL_NO_MEMORY(0x4007) Not enough memory to enable spooler.