|
|
The RtcplGetRunTimeDirectory function retrieves the path of the RTX Runtime installation directory.
Syntax
BOOL RtcplGetRunTimeDirectory( LPTSTR Buffer, PDWORD Size );
Parameters
Buffer
Pointer to a buffer that RtcplGetRunTimeDirectory
populates with a null-terminated string containing the path. This path
does not end with a backslash unless the directory is the root directory.
For example, if the directory is named Program Files\IntervalZero\RTX
on drive D, the path of the directory retrieved by this function is D:\Program
Files\IntervalZero\RTX.
Size
Pointer to a DWORD that RtcplGetRunTimeDirectory populates with the size of the buffer in TCHARs.
Return Values
The number of characters in the path if the function succeeds
If the function fails because the buffer size is too small, the Size structure will be filled in with the buffer size needed, otherwise the Size value will be 0.
Remarks
RtcplGetRunTimeDirectory is similar to the Windows function GetSystemDirectory.
Requirements
| Header | RtxProp.h |
| Library | RtxProp.lib |