AddPortEx ()


Revision as of 09:50, 9 December 2007 by Markus (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
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.


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