* @brief Gets the vendor-specific name of the device holding this capability object. * * @param [in] strBuffer Buffer to accept the serial number * @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. */
| 2915 | * @retval XN_STATUS_OUTPUT_BUFFER_OVERFLOW The size of the buffer is not sufficient. |
| 2916 | */ |
| 2917 | inline XnStatus GetSerialNumber(XnChar* strBuffer, XnUInt32 nBufferSize) |
| 2918 | { |
| 2919 | return xnGetSerialNumber(GetHandle(), strBuffer, &nBufferSize); |
| 2920 | } |
| 2921 | }; |
| 2922 | |
| 2923 | /** |
no test coverage detected