INtime SDK Help
GetPortParameter

Retrieves the parameter previously associated with a port by a call to SetPortParameter.

LPVOID GetPortParameter(
    RTHANDLE hPort
);

Parameters

hPort
A handle for the port.

Return Values

Returns the value of the port parameter.
Success.
BAD_POINTER
Failure. To determine the status, call GetLastRtError.

Status

E_CONTEXT 0x0005
The port is being deleted or the service is being uninstalled.
E_EXIST 0x0006
The hObject parameter is not a valid handle.
E_TYPE 0x8002
The hObject parameter is not a handle for a port or a service.

Requirements

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

See Also

RT Service system calls, SetPortParameter