IOleControl::GetControlInfo

Fills in a CONTROLINFO structure with information about a control's keyboard mnemonics and keyboard behavior.

HRESULT GetControlInfo(
  CONTROLINFO* pCI  //Pointer to structure
);
 

Parameters

pCI
[in, out] Pointer to the caller-allocated CONTROLINFO structure to be filled in.

Return Values

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

S_OK
The structure was filled successfully.
E_NOTIMPL
The control has no mnemonics.
E_POINTER
The address in pCI is not valid. For example, it may be NULL.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.

See Also

CONTROLINFO