INtime SDK Help
PORTINFO structure

Syntax

typedef struct tagPortInfo {
    WORD wPortID;
    BYTE byType;
    BYTE _reserved_a;
    WORD wNumTransactions;
    WORD wControlMsgSize;
    RTHANDLE hService;
    RTHANDLE hSinkPort;
    DWORD _reserved_b;
    RTHANDLE hHeap;
    WORD wFlags;
    GENADDR LocalAddress;
    GENADDR RemoteAddress;
    char cName[14];
} PORTINFO, *LPPORTINFO;

Fields

wPortID
The port's identifying name or number.
byType
The port type. Always 0xff.
wNumTransactions
The number of simultaneous transactions that can be outstanding at this port.
wControlMsgSize
The size in bytes of a control message.
hService
A handle for the service object.
hSinkPort
A handle for the sink port, if the port has been forwarded.
hHeap
A handle for a buffer pool (or a heap) if one is attached to this port.
wFlags
A value that contains the flags used to create the port.
LocalAddress
The address bound to this port. If the port was not explicitly bound using BindRtPort, this field contains the service local address and the local port ID.
RemoteAddress
The address of the remote port, if this port has been connected.
szName
The name of the service, padded with nulls if necessary.

See Also

GetRtPortAttributes, BindRtPort