IClassFactory2::GetLicInfo (Compact 2013)
3/26/2014
This method fills a caller-allocated LICINFO structure with information describing the licensing capabilities of this class factory.
Syntax
HRESULT GetLicInfo(
LICINFO* pLicInfo
);
Parameters
- pLicInfo
[out] Pointer to the caller-allocated LICINFO structure to be filled on output.
Return Value
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 can be NULL.
Remarks
To determine whether the platform supports this interface, see Determining Supported COM APIs.
Notes to Implementers
E_NOTIMPL is not allowed as a return value because this method provides critical information for the client of a licensed class factory.
Requirements
Header |
ocidl.h, |
Library |
ole32.lib, |
See Also
Reference
IClassFactory2
IClassFactory2::CreateInstanceLic
IClassFactory2::RequestLicKey