IClassFactory2::GetLicInfo  3_8UIX3

Fills a caller-allocated LICINFO structure with information describing the licensing capabilities of this class factory.

HRESULT GetLicInfo(

    LICINFO* pLicInfo

//Pointer to the structure

   );

 

 

Parameters

pLicInfo

[out] Pointer to the caller-allocated LICINFO1ITN_RR structure to be filled on output.

 

Return Values

This method supports the standard return value E_UNEXPECTED, as well as the following:

S_OK

The LICINFO structure was successfully filled in.

E_POINTER

The address in pLicInfo is not valid. For example, it may be NULL.

 

Remarks

Notes to Implementers

E_NOTIMPL is not allowed as a return value since this method provides critical information for the client of a licensed class factory.

See Also

IClassFactory2::CreateInstanceLic, IClassFactory2::RequestLicKey, LICINFO