pub struct CLSCTX(/* private fields */);ole only.Expand description
CLSCTX
enumeration (u32).
Implementations§
Source§impl CLSCTX
impl CLSCTX
Sourcepub const unsafe fn as_mut(&mut self) -> &mut u32
pub const unsafe fn as_mut(&mut self) -> &mut u32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
Sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
Sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
Returns the primitive integer underlying value.
This method is similar to Into, but it
is const, therefore it can be used in
const contexts.
Source§impl CLSCTX
impl CLSCTX
Sourcepub const INPROC_SERVER: Self
pub const INPROC_SERVER: Self
Same process.
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.
Sourcepub const INPROC_HANDLER: Self
pub const INPROC_HANDLER: Self
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.
Sourcepub const LOCAL_SERVER: Self
pub const LOCAL_SERVER: Self
Different process, same computer.
The EXE code that creates and manages objects of this class runs on same machine but is loaded in a separate process space.
Sourcepub const REMOTE_SERVER: Self
pub const REMOTE_SERVER: Self
Different computer.
A remote context. The LocalServer32 or LocalService code that creates
and manages objects of this class is run on a different computer.
Sourcepub const NO_CODE_DOWNLOAD: Self
pub const NO_CODE_DOWNLOAD: Self
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.
Sourcepub const NO_CUSTOM_MARSHAL: Self
pub const NO_CUSTOM_MARSHAL: Self
Specify if you want the activation to fail if it uses custom marshalling.
Sourcepub const ENABLE_CODE_DOWNLOAD: Self
pub const ENABLE_CODE_DOWNLOAD: Self
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.
Sourcepub const NO_FAILURE_LOG: Self
pub const NO_FAILURE_LOG: Self
The CLSCTX::NO_FAILURE_LOG can be used to override the logging of
failures in CoCreateInstanceEx.
Sourcepub const DISABLE_AAA: Self
pub const DISABLE_AAA: Self
Disables activate-as-activator (AAA) activations for this activation only.
Sourcepub const ENABLE_AAA: Self
pub const ENABLE_AAA: Self
Enables activate-as-activator (AAA) activations for this activation only.
Sourcepub const FROM_DEFAULT_CONTEXT: Self
pub const FROM_DEFAULT_CONTEXT: Self
Begin this activation from the default context of the current apartment.
Sourcepub const ACTIVATE_X86_SERVER: Self
pub const ACTIVATE_X86_SERVER: Self
Activate or connect to a 32-bit version of the server; fail if one is not registered.
Sourcepub const ACTIVATE_32_BIT_SERVER: Self
pub const ACTIVATE_32_BIT_SERVER: Self
Activate or connect to a 32-bit version of the server; fail if one is not registered.
Sourcepub const ACTIVATE_64_BIT_SERVER: Self
pub const ACTIVATE_64_BIT_SERVER: Self
Activate or connect to a 64 bit version of the server; fail if one is not registered.
Sourcepub const ACTIVATE_AAA_AS_IU: Self
pub const ACTIVATE_AAA_AS_IU: Self
Specify this flag for Interactive User activation behavior for As-Activator servers.
Sourcepub const ACTIVATE_ARM32_SERVER: Self
pub const ACTIVATE_ARM32_SERVER: Self
(No official docs for this entry.)