This topic has not yet been rated - Rate this topic

IOleControl::GetControlInfo method

Applies to: desktop apps only

Retrieves information about the control's keyboard mnemonics and behavior.

Syntax

HRESULT GetControlInfo(
  [in, out]  CONTROLINFO *pCI
);

Parameters

pCI [in, out]

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 codeDescription
S_OK

The method completed succesfully.

E_NOTIMPL

The control has no mnemonics.

E_POINTER

The address in pCI is not valid. For example, it may be NULL.

 

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IOleControl is defined as B196B288-BAB4-101A-B69C-00AA00341D07

See also

IOleControl

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ