Values that are used in activation calls to indicate the execution contexts in which an object is to be run.
Namespace:
ShellBoost.Core.WindowsShell
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax [FlagsAttribute]
public enum CLSCTX
Members
| Member name | Value | Description |
---|
| CLSCTX_NONE | 0 |
No options.
|
| CLSCTX_INPROC_SERVER | 1 |
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_HANDLER | 2 |
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_SERVER | 4 |
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_SERVER16 | 8 |
Obsolete.
|
| CLSCTX_REMOTE_SERVER | 16 |
A remote context. The LocalServer32 or LocalService code that creates and manages objects of this class is run on a different computer.
|
| CLSCTX_INPROC_HANDLER16 | 32 |
Obsolete.
|
| CLSCTX_RESERVED1 | 64 |
Reserved.
|
| CLSCTX_RESERVED2 | 128 |
Reserved.
|
| CLSCTX_RESERVED3 | 256 |
Reserved.
|
| CLSCTX_RESERVED4 | 512 |
Reserved.
|
| CLSCTX_NO_CODE_DOWNLOAD | 1024 |
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_RESERVED5 | 2048 |
Reserved.
|
| CLSCTX_NO_CUSTOM_MARSHAL | 4096 |
Specify if you want the activation to fail if it uses custom marshalling.
|
| CLSCTX_ENABLE_CODE_DOWNLOAD | 8192 |
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_LOG | 16384 |
The CLSCTX_NO_FAILURE_LOG can be used to override the logging of failures in CoCreateInstanceEx.
|
| CLSCTX_DISABLE_AAA | 32768 |
Disables activate-as-activator (AAA) activations for this activation only.
|
| CLSCTX_ENABLE_AAA | 65536 |
Enables activate-as-activator (AAA) activations for this activation only.
|
| CLSCTX_FROM_DEFAULT_CONTEXT | 131072 |
Begin this activation from the default context of the current apartment.
|
| CLSCTX_ACTIVATE_X86_SERVER | 262144 |
Activate or connect to a 32-bit version of the server; fail if one is not registered.
|
| CLSCTX_ACTIVATE_32_BIT_SERVER | 262144 |
Activate or connect to a 32-bit version of the server; fail if one is not registered.
|
| CLSCTX_ACTIVATE_64_BIT_SERVER | 524288 |
Activate or connect to a 64 bit version of the server; fail if one is not registered.
|
| CLSCTX_ENABLE_CLOAKING | 1048576 |
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_APPCONTAINER | 4194304 |
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_IU | 8388608 |
Specify this flag for Interactive User activation behavior for As-Activator servers.
|
| CLSCTX_RESERVED6 | 16777216 |
Reserved.
|
| CLSCTX_ACTIVATE_ARM32_SERVER | 33554432 |
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_INPROC | 3 |
A combination of CLSCTX_INPROC_SERVER and CLSCTX_INPROC_HANDLER.
|
| CLSCTX_ALL | 23 |
A combination of CLSCTX_INPROC_SERVER, CLSCTX_INPROC_HANDLER, CLSCTX_LOCAL_SERVER and CLSCTX_REMOTE_SERVER.
|
| CLSCTX_SERVER | 21 |
A combination of CLSCTX_INPROC_SERVER, CLSCTX_LOCAL_SERVER and CLSCTX_REMOTE_SERVER.
|
See Also