CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_ErrorCode LocalDevice_GetPath ( CPHOBJECT const  hLocalDevice,
CPCHAR8 const **const  putf8Name 
)

Get the path.

Parameters
[in]hLocalDeviceHandle to the local device.
[out]putf8NamePointer to string pointer filled with the path string. the path information (NOT terminated with a '/' !!!)
Returns
Standard CHAILink Client return code. See CLC_ErrorCode enumeration.
Remarks
If succeeded, the string pointed to by *pstrPath is valid until the next CHAILink call. The string must be copied in order to maintain it locally.
Warning
This function can only be called in CopperLan context. This means in the pseudo task CPDoProcess(), in notification handlers or in asynchronous return handlers and not in SystemDoProcess() for instance.