locked
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,
      SL_NONGENUINE_UI_OPTIONS* pUIOptions
    )
    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
     
    Wednesday, May 2, 2007 4:53 AM