SLGetInstalledSAMLicenseApplications function
[SLInstallSAMLicense is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]
Retrieves a list of applications that have Software Asset Management (SAM) licenses that were installed by using the SLInstallSAMLicense function.
HRESULT WINAPI SLGetInstalledSAMLicenseApplications(
_Out_ UINT *pnReturnedAppIds,
_Out_ SLID **ppReturnedAppIds
);
pnReturnedAppIds [out]
A pointer to the number of elements in the ppReturnedAppIds array.ppReturnedAppIds [out]
The address of a pointer to an array of pointers to SLID structures that identify applications.
If the method succeeds, it returns S_OK.
If the method fails, it returns an error code. For a list of common error codes, see Common HRESULT Values.
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
Slpublic.h |
Library |
Slc.lib |
DLL |
Slc.dll |