Table of contents
TOC
Collapse the table of content
Expand the table of content

ICSPNode::Execute

Last Updated: 1/24/2017

This method runs a task on an internally-transactioned configuration service provider node by passing in the specified user data and returning a result. The exact meaning of Execute and whether it is even supported depends on the purpose of the node. For example, Execute called on a node that represents a file should probably ShellExecute the file, whereas calling Execute on a registry node generally does not make sense.

Syntax

HRESULT Execute([in] VARIANT varUserData);

Parameters

varUserData
    Data to pass into the execution.

Return Value

A value of S_OK indicates that the operation was performed successfully on the node. E_NOTIMPL should be returned if this method is not implemented.

Remarks

Externally–transactioned nodes do not support this method.

Requirements

Header: None

Create a custom configuration service provider

© 2017 Microsoft