SplEnable: Difference between revisions
Appearance
Created page with "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(p..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
This function is called to enable the OS/2 spooler. | 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 == | == Syntax == | ||
SplEnable(pszComputerName, pszDirectory, | SplEnable(pszComputerName, pszDirectory, pReserved) | ||
== Parameters == | == 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. | |||
; rc (ULONG) - returns | |||
: Return codes. | |||
[[Category:Spl]] | [[Category:Spl]] |
Latest revision as of 14:33, 13 December 2019
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.