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

Function xnUnregisterUserCallbacks

Source/OpenNI/XnOpenNI.cpp:5461–5469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5459}
5460
5461XN_C_API void xnUnregisterUserCallbacks(XnNodeHandle hInstance, XnCallbackHandle hCallback)
5462{
5463 XN_VALIDATE_INTERFACE_TYPE_RET(hInstance, XN_NODE_TYPE_USER, );
5464 XnUserGeneratorInterfaceContainer* pInterface = (XnUserGeneratorInterfaceContainer*)hInstance->pModuleInstance->pLoaded->pInterface;
5465 XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode;
5466 UserCookie* pUserCookie = (UserCookie*)hCallback;
5467 pInterface->User.UnregisterUserCallbacks(hModuleNode, pUserCookie->hCallback);
5468 xnOSFree(pUserCookie);
5469}
5470
5471typedef struct UserSingleCookie
5472{

Calls 2

xnOSFreeFunction · 0.50

Tested by

no test coverage detected