IClassFactory2::GetLicInfo method
Retrieves information about the licensing capabilities of this class factory.
Syntax
HRESULT GetLicInfo(
[in, out] LICINFO *pLicInfo
);
Parameters
- pLicInfo [in, out]
-
A pointer to the caller-allocated LICINFO structure to be filled on output.
Return value
This method can return the standard return values E_UNEXPECTED, as well as the following values.
| Return code | Description |
|---|---|
|
The LICINFO structure was successfully filled in. |
|
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 because this method provides critical information for the client of a licensed class factory.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IClassFactory2 is defined as B196B28F-BAB4-101A-B69C-00AA00341D07 |
See also
Show: