IOleControl::GetControlInfo method (ocidl.h)
Retrieves information about the control's keyboard mnemonics and behavior.
Syntax
HRESULT GetControlInfo(
[in, out] CONTROLINFO *pCI
);
Parameters
[in, out] pCI
A pointer to a CONTROLINFO structure that receives the information.
Return value
This method can return the standard return value E_OUTOFMEMORY, as well as the following values.
| Return code | Description |
|---|---|
|
The method completed successfully. |
|
The control has no mnemonics. |
|
The address in pCI is not valid. For example, it may be NULL. |
Requirements
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | ocidl.h |