Switchover to native API
If some functionality you need is not covered by WUPI, you can switch over to the native API. The call WupiGetHandle returns a handle to the used license of the referenced LicenseList. This handle can be used to do some native API calls like CmGetInfo() or WkbQueryEntry2(). If you use more than one licensing system you should ensure to use the correct one for your native calls; this can be checked by using WupiGetLicenseType.
After you have finished working with the handle simply forget it; you may destroy your local variable that has received the handle value. But do not release the handle using CmRelease or WkbClose2. If you want to release a no longer used license, use WupiFreeLicense instead.