TranGetHostCfg (Compact 2013)
3/26/2014
This function is called to retrieve and host computer-specific configuration information.
Syntax
BOOL TranGetHostCfg(
TRANSPORTID id,
LPVOID pBuffer,
PUSHORT cbBuffer
);
Parameters
- id
[in] Valid TRANSPORTID returned from TranCreate.
- pBuffer
[out] Pointer to a buffer to store the transport-specific configuration information.
- pcbBuffer
[out] Pointer to a buffer that contains the size of the pBuffer passed in and then the number of bytes copied to pBuffer on exit.
Return Value
Returns TRUE on success; otherwise FALSE.
Remarks
This function is called during the initial handshake with the device. KITL calls TranGetHostCfg when it needs to send the host transport information to the device.
Requirements
Header |
kitltran.h |
Library |
Developer Implemented |