ConnectToPrinterDlg function Null safety
The ConnectToPrinterDlg function displays a dialog box that lets users browse and connect to printers on a network. If the user selects a printer, the function attempts to create a connection to it; if a suitable driver is not installed on the server, the user is given the option of creating a printer locally.
HANDLE ConnectToPrinterDlg( _In_ HWND hwnd, _In_ DWORD Flags );
int ConnectToPrinterDlg(int hwnd, int Flags) => _ConnectToPrinterDlg(hwnd, Flags);