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.

See Also

CONTROLINFO