MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / GetDeviceName

Method GetDeviceName

Include/XnCppWrapper.h:2889–2892  ·  view source on GitHub ↗

* @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. */

Source from the content-addressed store, hash-verified

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.

Callers 3

xnGetDeviceNameFunction · 0.80

Calls 2

xnGetDeviceNameFunction · 0.85
GetHandleFunction · 0.85

Tested by

no test coverage detected