ConfigurePort function winspool
Displays the port-configuration dialog box for a port on the specified server.
To learn more, see learn.microsoft.com/windows/win32/printdocs/configureport.
Implementation
@pragma('vm:prefer-inline')
bool ConfigurePort(PCWSTR? pName, HWND hWnd, PCWSTR pPortName) =>
_ConfigurePort(pName ?? nullptr, hWnd, pPortName) != FALSE;