Parent Topic: OMXINTRO

Registering a Device

Because OMX is in C++ and some devices libraries might be in C, device can not register themself. This is why OMX must register all available device. Using the function RegisterOMXDevice(), OMX calls OMXRegister for every available device. By this way, there is only one place in all the source code that needs to be changed to add a new device in OMX. The function RegisterOMXDevice() should be called only once in the application. Every other call, during the application, will do nothing.

See Also: What is a Device?, RegisterOMXDevice(), OMXRegister()


Parent Topic: OMXINTRO
About PCI Help Gateway