calling SLIsGenuineLocal API for WGA check RRS feed

  • Question

  • Hi,


    I have to do Windows Authentication for my product installation.I am using the SLIsGenuineLocal API available as a part of the file Slc.dll that comes with Vista.

    The signature of the function looks like

    HRESULT WINAPI SLIsGenuineLocal(
      const SLID* pAppId,
      SL_GENUINE_STATE* pGenuineState,
    where ,SLID is structure that specifies the application to check.I dont have 
    any idea about how to specify the value for SLID.Has anyone used this API for 
    your product ? Any help would be greatly appreciated.
    Thanks and regards
    K Bhuvaneshwari
    Tuesday, May 1, 2007 8:34 PM