INtime SDK Help
GetRtPortAttributes (deprecated)

From INtime 6.0 the INtime Service and Port objects have been deprecated.

New projects should not be started using these features, and existing projects will not work with XM mode. You will receive a compiler warning by default if you use these calls.

Returns a structure that provides information about the port object indicated by the supplied handle.

BOOLEAN GetRtPortAttributes(
    RTHANDLE hPort,   
    LPPORTINFO lpInfo 
);

Parameters

hPort
A handle for a port object.
lpInfo
A pointer to a PORTINFO structure.

Return Values

TRUE
Success.
FALSE
Failure. To determine the status, call GetLastRtError.

Status

E_OK 0x0000
No exceptional conditions occurred.
E_EXIST 0x0006
The port is already being deleted.
E_TYPE 0x8002
The handle supplied is not for a port object.
E_NUC_BAD_BUF 0x80E2
An invalid pointer was supplied.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/rtbase.h rt.h rt.lib

See Also

Port system calls, PORTINFO