Export (0) Print
Expand All

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.

Syntax


HRESULT WINAPI SLGetInstalledSAMLicenseApplications(
  _Out_  UINT *pnReturnedAppIds,
  _Out_  SLID **ppReturnedAppIds
);

Parameters

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.

Return value

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.

Requirements

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft