Επεξεργασία

Κοινή χρήση μέσω


IBrowserService2::_ExecChildren method (shdeprecated.h)

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(
  [in]      IUnknown   *punkBar,
  [in]      BOOL       fBroadcast,
  [in]      const GUID *pguidCmdGroup,
  [in]      DWORD      nCmdID,
  [in]      DWORD      nCmdexecopt,
  [in]      VARIANTARG *pvarargIn,
  [in, out] VARIANTARG *pvarargOut
);

Parameters

[in] punkBar

Type: IUnknown*

A pointer to the IUnknown of the IOleCommandTarget interface.

[in] fBroadcast

Type: BOOL

TRUE to broadcast the command; FALSE otherwise.

[in] pguidCmdGroup

Type: const GUID*

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

[in] nCmdID

Type: DWORD

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

[in] nCmdexecopt

Type: DWORD

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

[in] pvarargIn

Type: VARIANTARG*

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

[in, out] 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

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