pub struct CLSCTX(/* private fields */);
kernel
and ole
only.Expand description
CLSCTX
enumeration (u32
).
Implementations§
source§impl CLSCTX
impl CLSCTX
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.)
Trait Implementations§
source§impl IntUnderlying for CLSCTX
impl IntUnderlying for CLSCTX
source§impl Ord for CLSCTX
impl Ord for CLSCTX
source§impl PartialEq for CLSCTX
impl PartialEq for CLSCTX
source§impl PartialOrd for CLSCTX
impl PartialOrd for CLSCTX
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more