NuiImageStreamGetNextFrame and stream handle doc suggestions RRS feed

  • Question

  • Doc suggestions:

    I supply a manual-reset event for my next frame event.  My expectation would be that I reset the event myself, but it seems that NuiImageStreamGetNextFrame resets it for me.  Might be nice to note that in the docs.

    The open stream APIs return HANDLEs.  We typically close HANDLEs with CloseHandle() when done with them, however it seems that we shouldn't do that with stream HANDLEs.  Might be nice to note that also.


    Friday, February 10, 2012 8:21 AM

All replies

  • I thought that the documentation said to close the handles returned by NuiImageStreamOpen() with CloseHandle(), but I can't find this now.  Also, in my testing I get an "invalid handle" exception when I try to close the handle with CloseHandle().  

    Is this what you are experiencing?  Did you find a way to close the stream handle?

    • Edited by r3vn3t Wednesday, February 22, 2012 1:57 AM
    Wednesday, February 22, 2012 1:48 AM