Click or drag to resize

CLSCTX Enumeration

Values that are used in activation calls to indicate the execution contexts in which an object is to be run.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
[FlagsAttribute]
public enum CLSCTX
Members
  Member nameValueDescription
CLSCTX_NONE0 No options.
CLSCTX_INPROC_SERVER1 The code that creates and manages objects of this class is a DLL that runs in the same process as the caller of the function specifying the class context.
CLSCTX_INPROC_HANDLER2 The code that manages objects of this class is an in-process handler. This is a DLL that runs in the client process and implements client-side structures of this class when instances of the class are accessed remotely.
CLSCTX_LOCAL_SERVER4 The EXE code that creates and manages objects of this class runs on same machine but is loaded in a separate process space.
CLSCTX_INPROC_SERVER168 Obsolete.
CLSCTX_REMOTE_SERVER16 A remote context. The LocalServer32 or LocalService code that creates and manages objects of this class is run on a different computer.
CLSCTX_INPROC_HANDLER1632 Obsolete.
CLSCTX_RESERVED164 Reserved.
CLSCTX_RESERVED2128 Reserved.
CLSCTX_RESERVED3256 Reserved.
CLSCTX_RESERVED4512 Reserved.
CLSCTX_NO_CODE_DOWNLOAD1024 Disables the downloading of code from the directory service or the Internet. This flag cannot be set at the same time as CLSCTX_ENABLE_CODE_DOWNLOAD.
CLSCTX_RESERVED52048 Reserved.
CLSCTX_NO_CUSTOM_MARSHAL4096 Specify if you want the activation to fail if it uses custom marshalling.
CLSCTX_ENABLE_CODE_DOWNLOAD8192 Enables the downloading of code from the directory service or the Internet. This flag cannot be set at the same time as CLSCTX_NO_CODE_DOWNLOAD.
CLSCTX_NO_FAILURE_LOG16384 The CLSCTX_NO_FAILURE_LOG can be used to override the logging of failures in CoCreateInstanceEx.
CLSCTX_DISABLE_AAA32768 Disables activate-as-activator (AAA) activations for this activation only.
CLSCTX_ENABLE_AAA65536 Enables activate-as-activator (AAA) activations for this activation only.
CLSCTX_FROM_DEFAULT_CONTEXT131072 Begin this activation from the default context of the current apartment.
CLSCTX_ACTIVATE_X86_SERVER262144 Activate or connect to a 32-bit version of the server; fail if one is not registered.
CLSCTX_ACTIVATE_32_BIT_SERVER262144 Activate or connect to a 32-bit version of the server; fail if one is not registered.
CLSCTX_ACTIVATE_64_BIT_SERVER524288 Activate or connect to a 64 bit version of the server; fail if one is not registered.
CLSCTX_ENABLE_CLOAKING1048576 When this flag is specified, COM uses the impersonation token of the thread, if one is present, for the activation request made by the thread. When this flag is not specified or if the thread does not have an impersonation token, COM uses the process token of the thread's process for the activation request made by the thread.
CLSCTX_APPCONTAINER4194304 Indicates activation is for an app container. This flag is reserved for internal use and is not intended to be used directly from your code.
CLSCTX_ACTIVATE_AAA_AS_IU8388608 Specify this flag for Interactive User activation behavior for As-Activator servers.
CLSCTX_RESERVED616777216 Reserved.
CLSCTX_ACTIVATE_ARM32_SERVER33554432 Activate or connect to a 64 bit ARM version of the server; fail if one is not registered.
CLSCTX_PS_DLL-2147483648 Used for loading Proxy/Stub DLLs. This flag is reserved for internal use and is not intended to be used directly from your code.
CLSCTX_INPROC3 A combination of CLSCTX_INPROC_SERVER and CLSCTX_INPROC_HANDLER.
CLSCTX_ALL23 A combination of CLSCTX_INPROC_SERVER, CLSCTX_INPROC_HANDLER, CLSCTX_LOCAL_SERVER and CLSCTX_REMOTE_SERVER.
CLSCTX_SERVER21 A combination of CLSCTX_INPROC_SERVER, CLSCTX_LOCAL_SERVER and CLSCTX_REMOTE_SERVER.
See Also