Dll: LicCpa.Cpl
EntryPoint: CPlSetup

   [0] szRoutine - The type of setup to run 
      "FULLSETUP"  - Full setup
      "PERSEAT" - force per seat mode dialog
      "UNATTENDED" - no dialog is raised, just set registery to passed values 
      "FULLSETUPNOEXIT" - exit button is removed from dialog
      "REMOTE..." - Remote versions of all the above; argument [1] becomes the
         target server (e.g., "\\server"); arguments 1, 2, 3, ... become
         arguments 2, 3, 4, ....

for FullSetup, PerSeat, and FullSetupNoExit;
   [1] szHwnd - The parent Window handle, in HEX!
   [2] szService - The Reg Key name of the service 
   [3] szDisplayName - The display name of the service 
   note: the next four can be omitted and the default help file will be used.
         a help file name of "DefaultHelp" will accomplish the same and still
         allow you to specify argument [8]
   [4] szHelpFile - The complete path and name to help file 
      (leave as an empty string to remove help buttons)
   [5] szHelpContext - the DWORD to use as the main help context
   [6] szHCPerSeat     - the DWORD to use as the PerSeat Help context
   [7] szHCPerServer - the DWORD to use as the PerServer help context

   (optionally)
   [8] szCertRequired - "CertRequired" or "CertNotRequired"; the former
      indicates that secure certificates must be used for this product;
      if the latter is specified or no value is specified then the 3.51-style
      licensing dialog will be presented when adding licenses

for Unattended;
   [1] szService - The Reg Key name of the service 
   [2] szDisplayName - The display name of the service 
   [3] szMode - The string that defines the mode ("PerSeat" | "PerServer")
   [4] szUsers - The DWORD to use as the count of users in PerServer mode 

   (optionally)
   [5] szCertRequired - "CertRequired" or "CertNotRequired"; the former
      indicates that secure certificates must be used for this product;
      if the latter is specified or no value is specified then the 3.51-style
      licensing dialog will be presented when adding licenses


   ppszResult [out]- The result string
      "EXIT"  - user requested exit
      "ERROR" - unexpected error
      "OK" - user selected ok
      "SECURITY" - access denied
      "DOWNLEVEL" - the target license server (probably remote) does not
         handle this request (normally indicates that the app indicated
         the product requires secure certificates, but the remote license
         server is that shipped with 3.51)