WEDF_ProtectedProcess.AddProtectedProcess (Industry 8.1)
7/8/2014
Review the use, syntax, parameters, and return values of the WEDF_ProtectedProcess.AddProtectedProcess method for Windows Embedded 8.1 Industry (Industry 8.1).
This method adds an array of WEDF_ProtectedProcess objects to the list of protected processes that are exempt from the default action specified for Dialog Filter.
Syntax
[Static] uint32 AddProtectedProcess(
[In, EmbeddedInstance("WEDF_ProtectedProcess")] string processes[],
[Out] uint32 cmdletOutput[]
);
Parameters
- processes
[In, EmbeddedInstance("WEDF_ProtectedProcess")] An array of WEDF_ProtectedProcess objects embedded as strings. This array represents the protected process configurations to add to Dialog Filter.
cmdletOutput
[Out] An array of integers that contains the IDs of the new protected process configurations just added.These IDs can be used later to remove these protected processes.
Return Value
An HRESULT value that indicates WMI status or a WMI error.
Remarks
You must use an administrator account to add protected process configurations.