FreeVBCode code snippet: Registry API Wrapper