2017-05-22 13:07:12 -07:00

1.4 KiB
Raw Blame History

title, description, MSHAttr, ms.assetid, ms.author, ms.date, ms.topic, ms.prod, ms.technology
title description MSHAttr ms.assetid ms.author ms.date ms.topic ms.prod ms.technology
ICSPNode Execute ICSPNode Execute
PreferredSiteName:MSDN
PreferredLib:/library/windows/hardware
5916e7b7-256d-49fd-82b6-db0547a215ec windows-hardware-design-content 05/02/2017 article windows-hardware windows-oem

ICSPNode::Execute

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

Externallytransactioned nodes do not support this method.

Requirements

Header: None

Create a custom configuration service provider