IInputObject::UIActivateIO method

UI-activates or deactivates the object.

Syntax

HRESULT UIActivateIO(
  BOOL fActivate,
  MSG  *pMsg
);

Parameters

fActivate

Type: BOOL

Indicates if the object is being activated or deactivated. If this value is nonzero, the object is being activated. If this value is zero, the object is being deactivated.

pMsg

Type: MSG*

A pointer to an MSG structure that contains the message that caused the activation change. This value may be NULL.

Return Value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll (version 4.71 or later)