AddPortEx ()

From ISXKB

Jump to: navigation, search

This article shows how to use the Windows API function AddPortEx () with Inno Setup. Please note that the function AddPortEx () is obsolete (AddPortEx () at MSDN) and can only be used for Windows NT 4.0 and earlier versions.

Declaration

The following declaration is required in a [Code] section:

function AddPortEx (pName : PChar; Level: Longint; var lpBuffer:
TPortInfo2S; pMonitorName : PChar): LongInt; external
'AddPortExA@winspool.drv stdcall';

AddPortEx () at MSDN

Personal tools
Ads: