IBrowserService2::_ExecChildren method

Deprecated. Enables the derived class to issue a command through the IOleCommandTarget::Exec method directly, instead of relying on the base class.

Syntax

HRESULT _ExecChildren(
  IUnknown   *punkBar,
  BOOL       fBroadcast,
  const GUID *pguidCmdGroup,
  DWORD      nCmdID,
  DWORD      nCmdexecopt,
  VARIANTARG *pvarargIn,
  VARIANTARG *pvarargOut
);

Parameters

punkBar

Type: IUnknown*

A pointer to the IUnknown of the IOleCommandTarget interface.

fBroadcast

Type: BOOL

TRUE to broadcast the command; FALSE otherwise.

pguidCmdGroup

Type: const GUID*

A pointer to the unique identifier of the command group; can be NULL to specify the standard group.

nCmdID

Type: DWORD

The command to be executed. This command must belong to the group specified with pguidCmdGroup.

nCmdexecopt

Type: DWORD

The values taken from the OLECMDEXECOPT enumeration, which describe how the object should execute the command.

pvarargIn

Type: VARIANTARG*

A pointer to a VARIANTARG structure containing input arguments. Can be NULL.

pvarargOut

Type: VARIANTARG*

A pointer to a VARIANTARG structure to receive command output. Can be NULL.

Return Value

Type: HRESULT

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

Remarks

For further information, see IOleCommandTarget::Exec.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shdeprecated.h