do not call registry APIs if MEDIASDK_USE_REGISTRY is not set
do not call registry APIs if MEDIASDK_USE_REGISTRY is not set

Or building for UWP where it's not allowed.

The preprocessor test matches other tests in the code.

maximd33/mfx_dispatch,lu-zero/mfx_dispatch,maximd33/mfx_dispatch,lu-zero/mfx_dispatch