Επεξεργασία

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


ICreatingProcess interface (shobjidl_core.h)

Used by ShellExecuteEx and IContextMenu to allow the caller to alter some parameters of the process being created.

Inheritance

The ICreatingProcess interface inherits from the IUnknown interface. ICreatingProcess also has these types of members:

Methods

The ICreatingProcess interface has these methods.

 
ICreatingProcess::OnCreating

Allows you to modify the parameters of the process being created.

Remarks

The caller should install an object into the site chain which implements IServiceProvider::QueryService and responds to the SID_ExecuteCreatingProcess service ID with an object that implements the ICreatingProcess interface.

After performing the desired operations, the object should forward the ICreatingProcess::OnCreating call up the site chain to allow other members of the site chain to participate.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)

See also

CreateProcess

ICreateProcessInputs