DeletePrintProcessor

機能
プリンタプロセッサを削除する
Declare Function DeletePrintProcessor Lib "winspool.drv" Alias "DeletePrintProcessorA" _
(ByVal pName As String, ByVal pEnvironment As String, _
ByVal pPrinterProcessorName As String) As Long
Declare Function DeletePrintProcessor Lib "winspool.drv" Alias "DeletePrintProcessorA" _
(ByVal pName As String, ByVal pEnvironment As String, _
ByVal pPrinterProcessorName As String) As Integer

BOOL DeletePrintProcessor(
LPTSTR pName,
LPTSTR pEnvironment,
LPTSTR pPrintProcessorName
);
引数
pName

サーバー名
pEnvironment
環境文字列(現在の環境のときvbNullString)
使用できる文字列

WindowsNTx86        WindowsNTR4000
WindowsNT Alpha_AXP     Windows4.0
pPrinterProcessorName
削除するプロセッサー名
戻り値
正常終了のとき       0以外
中止のとき           0