プリンタプロセッサを削除する
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)pPrinterProcessorName
使用できる文字列
WindowsNTx86 WindowsNTR4000
WindowsNT Alpha_AXP Windows4.0
削除するプロセッサー名戻り値
正常終了のとき 0以外
中止のとき 0