AddPrinterConnection2 function winspool
int
AddPrinterConnection2(
- int hWnd,
- Pointer<
Utf16> pszName, - int dwLevel,
- Pointer<
NativeType> pConnectionInfo,
Adds a connection to the specified printer for the current user and specifies connection details.
BOOL AddPrinterConnection2W(
_In_ HWND hWnd,
_In_ LPCWSTR pszName,
DWORD dwLevel,
_In_ PVOID pConnectionInfo
);
Implementation
int AddPrinterConnection2(
int hWnd,
Pointer<Utf16> pszName,
int dwLevel,
Pointer pConnectionInfo,
) => _AddPrinterConnection2(hWnd, pszName, dwLevel, pConnectionInfo);