Export (0) Print
Expand All

IWbemUnsecuredApartment interface

The IWbemUnsecuredApartment interface allows client applications to determine whether Unsecapp.exe performs access checks on asynchronous callbacks. Unsecapp.exe supports both IUnsecuredApartment and IWbemUnsecuredApartment interfaces.

When to use

IWbemUnsecuredApartment should be used for asynchronous calls to Windows Management Instrumentation (WMI) from client applications running on Windows Server 2003. By setting the WBEM_UNSECAPP_FLAG_TYPE flag, an application can programmatically specify whether or not access control is performed by Unsecapp.exe.

Members

The IWbemUnsecuredApartment interface inherits from IUnsecuredApartment. IWbemUnsecuredApartment also has these types of members:

Methods

The IWbemUnsecuredApartment interface has these methods.

MethodDescription
CreateSinkStub

The CreateSinkStub method is similar to the IUnsecuredApartment::CreateObjectStub method. It creates an object forwarder sink and performs access checks for receiving asynchronous calls from WMI.

 

Remarks

IWbemUnsecuredApartment is similar to IUnsecuredApartment, which also creates a sink in a separate process. For more information, see Performing Access Checks.

HKEY_LOCAL_MACHINE\software\microsoft\wbem\CIMOM\UnsecAppAccessControlDefault

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

Header

Wbemcli.h (include Wbemidl.h)

Library

Wbemuuid.lib

DLL

Unsecapp.exe

See also

Setting Security on an Asynchronous Call
IUnSecuredApartment
Lowering the Security for a Sink in a Separate Process
Performing Access Checks

 

 

Show:
© 2014 Microsoft