* @brief Gets the name of the device holding this capability object. * * @param [in] strBuffer Buffer to accept the device information. * @param [in,out] nBufferSize Size of the buffer. * * @retval XN_STATUS_OK Operation succeeded. * @retval XN_STATUS_OUTPUT_BUFFER_OVERFLOW The size of the buffer is not sufficient. */
| 2887 | * @retval XN_STATUS_OUTPUT_BUFFER_OVERFLOW The size of the buffer is not sufficient. |
| 2888 | */ |
| 2889 | inline XnStatus GetDeviceName(XnChar* strBuffer, XnUInt32 nBufferSize) |
| 2890 | { |
| 2891 | return xnGetDeviceName(GetHandle(), strBuffer, &nBufferSize); |
| 2892 | } |
| 2893 | |
| 2894 | /** |
| 2895 | * @brief Gets the vendor-specific name of the device holding this capability object. |
no test coverage detected