{
	"id": "01adc339-8976-44d0-b09f-deb72d14a6df",
	"created_at": "2026-04-06T00:06:34.125999Z",
	"updated_at": "2026-04-10T13:11:52.967285Z",
	"deleted_at": null,
	"sha1_hash": "c59f6526b4d8eeece21a005f8ec9a89e555cf31d",
	"title": "AddPrintProcessor function (Winspool.h) - Win32 apps",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 47909,
	"plain_text": "AddPrintProcessor function (Winspool.h) - Win32 apps\r\nBy drewbatgit\r\nArchived: 2026-04-05 22:25:05 UTC\r\nThe AddPrintProcessor function installs a print processor on the specified server and adds the print-processor\r\nname to the list of supported print processors.\r\nBOOL AddPrintProcessor(\r\n _In_ LPTSTR pName,\r\n _In_ LPTSTR pEnvironment,\r\n _In_ LPTSTR pPathName,\r\n _In_ LPTSTR pPrintProcessorName\r\n);\r\npName [in]\r\nA pointer to a null-terminated string that specifies the name of the server on which the print processor\r\nshould be installed. If this parameter is NULL, the print processor is installed locally.\r\npEnvironment [in]\r\nA pointer to a null-terminated string that specifies the environment (for example, Windows x86, Windows\r\nIA64, or Windows x64). If this parameter is NULL, the current environment of the caller/client (not of the\r\ndestination/server) is used.\r\npPathName [in]\r\nA pointer to a null-terminated string that specifies the name of the file that contains the print processor.\r\nThis file must be in the system print-processor directory.\r\npPrintProcessorName [in]\r\nA pointer to a null-terminated string that specifies the name of the print processor.\r\nIf the function succeeds, the return value is a nonzero value.\r\nIf the function fails, the return value is zero.\r\nNote\r\nThis is a blocking or synchronous function and might not return immediately. How quickly this function returns\r\ndepends on run-time factors such as network status, print server configuration, and printer driver implementation\r\nfactors that are difficult to predict when writing an application. Calling this function from a thread that manages\r\ninteraction with the user interface could make the application appear to be unresponsive.\r\nhttps://docs.microsoft.com/en-us/windows/win32/printdocs/addprintprocessor\r\nPage 1 of 2\n\nThe caller must have the SeLoadDriverPrivilege.\r\nBefore calling the AddPrintProcessor function, an application should verify that the file containing the print\r\nprocessor is stored in the system print-processor directory. An application can retrieve the name of the system\r\nprint-processor directory by calling the GetPrintProcessorDirectory function.\r\nAn application can determine the name of existing print processors by calling the EnumPrintProcessors\r\nfunction.\r\nRequirement Value\r\nMinimum supported client Windows 2000 Professional [desktop apps only]\r\nMinimum supported server Windows 2000 Server [desktop apps only]\r\nHeader Winspool.h (include Windows.h)\r\nLibrary Winspool.lib\r\nDLL Winspool.drv\r\nUnicode and ANSI names AddPrintProcessorW (Unicode) and AddPrintProcessorA (ANSI)\r\nPrinting\r\nPrint Spooler API Functions\r\nEnumPrintProcessors\r\nGetPrintProcessorDirectory\r\nSource: https://docs.microsoft.com/en-us/windows/win32/printdocs/addprintprocessor\r\nhttps://docs.microsoft.com/en-us/windows/win32/printdocs/addprintprocessor\r\nPage 2 of 2",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"origins": [
		"web"
	],
	"references": [
		"https://docs.microsoft.com/en-us/windows/win32/printdocs/addprintprocessor"
	],
	"report_names": [
		"addprintprocessor"
	],
	"threat_actors": [],
	"ts_created_at": 1775433994,
	"ts_updated_at": 1775826712,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/c59f6526b4d8eeece21a005f8ec9a89e555cf31d.pdf",
		"text": "https://archive.orkl.eu/c59f6526b4d8eeece21a005f8ec9a89e555cf31d.txt",
		"img": "https://archive.orkl.eu/c59f6526b4d8eeece21a005f8ec9a89e555cf31d.jpg"
	}
}