Download FDK Programmer`s Reference

Transcript
F_ApiConnectToSession()
...
FDK Function Reference
F_ApiConnectToSession()
F_ApiConnectToSession() connects the calling process to an existing
FrameMaker product session process.
Synopsis
#include "fapi.h"
. . .
IntT F_ApiConnectToSession(ConStringT clientName,
ConStringT hostname,
IntT prognum);
Arguments
clientName
The registered name of the client
hostname
The host running the FrameMaker product session
prognum
The RPC number of the FrameMaker product session
Returns
FE_Success if it succeeds, or an error code if an error occurs.
If F_ApiConnectToSession() fails, the API assigns one of the following values to
FA_errno.
FA_errno value
Meaning
FE_DupName
The client attempted to connect to the same session
FE_ReadOnly
The client attempted to connect to a session started with the
-noapi option
FE_OutOfRange
The client attempted to connect to a session of a
FrameMaker product version that doesn’t support this
function
FE_NameNotFound
There is no FrameMaker product session
See also
“F_ApiDisconnectFromSession()” on page 159
F_ApiCopy()
F_ApiCopy() copies the current selection to the FrameMaker product Clipboard.
FDK Programmer’s Reference
115