|
|
|
COM Fundamentals |
|
Enumerations and Constants |
|
|
ACTRL_ACCESS_XXX APPTYPE BINDFLAGS BINDSPEED BSCO_OPTION CALLFRAME_COPY CALLFRAME_FREE CALLTYPE CLSCTX COINIT COWAIT_FLAGS EOC_ChangeType EOLE_AUTHENTICATION_CAPABILITIES EXTCONN
|
MKRREDUCE MKSYS MSHCTX MSHLFLAGS PENDINGMSG PENDINGTYPE REGCLS RPC_C_AUTHN_XXX RPC_C_AUTHN_LEVEL_XXX RPC_C_AUTHZ_XXX RPC_C_IMP_LEVEL_XXX SERVERCALL THDTYPE TYSPEC |
|
ACTRL_ACCESS_XXX constants |
|
These values indicate
whether an entry in the access list describes rights that are allowed or
denied. |
|
%ACTRL_ACCESS_ALLOWED = &H00000000 |
|
APPTYPE Enumeration |
|
The APTTYPE
enumeration values indicate different types of apartments. |
|
%APTTYPE_CURRENT = -1 |
|
BIND_FLAGS Enumeration |
|
The BIND_FLAGS
enumeration values are used to control aspects of moniker binding
operations. The values are used in the BIND_OPTS structure. Callers
of IMoniker methods can specify values from this enumeration, and
implementers of IMoniker methods can use these values in determining
what they should do. |
|
%BIND_MAYBOTHERUSER = 1 |
|
BINDSPEED Enumeration |
|
The BINDSPEED
enumeration values indicate approximately how long the caller will wait to
bind to an object. Callers of the IOleItemContainer::GetObject method
specify values from this enumeration, and implementers of that method use
these values as a guideline for how quickly they must complete their
operation. |
|
%BINDSPEED_INDEFINITE = 1 |
|
BSCO_OPTION Enumeration |
|
A client of a binding
operation provides values from the BSCO_OPTION enumeration when
calling the RegisterBindStatusCallback function to register the
client's IBindStatusCallback Interface. The BSCO_OPTION values
specify the callback notifications that the client wants from the moniker.
The values correspond to methods in the IBindStatusCallback
interface. Simple clients of IMoniker::BindToStorage that want
nothing but the data bits need specify only BSCO_ONDATAAVAILABLE. |
|
%BSCO_ONSTARTBINDING = 0 |
|
CALLFRAME_COPY Enumeration |
|
This enumeration is
used with ICallFrame::Copy to determine if the copied call frame data
can be shared with data in the parent frame by determining its lifetime
dependency on the parent frame. If the CALLFRAME_COPY_NESTED flag is
set then the client will be responsible for using the copied call frame in a
manner that its lifetime is nested in the lifetime of its parent frame
making the data shareable. If the CALLFRAME_COPY_INDEPENDENT is set
then the lifetime of the copied frame will be independent of the parents. |
|
%CALLFRAME_COPY_NESTED = 1 |
|
CALLFRAME_FREE Enumeration |
|
This enumeration is
used with ICallFrame::Free to determine the parameter type to be
freed. |
|
%CALLFRAME_FREE_NONE = 0 |
|
CALLFRAME_WALK Enumeration |
|
This enumeration is
used with ICallFrame::WalkFrame to determine the parameter type to be
walked. |
|
%CALLFRAME_WALK_IN = 1 |
|
CALLTYPE Enumeration |
|
The CALLTYPE
enumeration constant specifies the call types used by
IMessageFilter::HandleInComingCall. |
|
%CALLTYPE_TOPLEVEL = 1 |
|
CLSCTX Enumeration |
|
Values from the
CLSCTX enumeration are used in activation calls to indicate the execution
contexts in which an object is to be run. These values are also used in
calls to CoRegisterClassObject to indicate the set of execution
contexts in which a class object is to be made available for requests to
construct instances. |
|
%CLSCTX_INPROC_SERVER = &H1 |
|
COINIT Enumeration |
|
A set of values from
the COINIT enumeration is passed as the dwCoInit parameter to
CoInitializeEx. This value determines the concurrency model used for
incoming calls to objects created by this thread. This concurrency model can
be either apartment-threaded or multi-threaded. |
|
%COINIT_MULTITHREADED = &H0 |
|
COWAIT_FLAGS Enumeration |
|
The values of the
COWAIT_FLAGS enumeration specify the behavior of the
CoWaitForMultipleHandles function. This enumeration is also used by the
ISynchronize::Wait and ISynchronizeContainer::WaitMultiple
methods, which typically call CoWaitForMultipleHandles. |
|
%COWAIT_WAITALL = &H00000001 |
|
EOC_ChangeType Enumeration |
|
The EOC_ChangeType
enumeration constants indicate the nature of the change to an event object.
Values from this enumeration are passed to methods of the
IEventObjectChange interface. |
|
%EOC_NewObject = 0 |
|
EOLE_AUTHENTICATION_CAPABILITIES Enumeration |
|
The
EOLE_AUTHENTICATION_CAPABILITIES enumeration constants set various
capabilities in CoInitializeSecurity and
IClientSecurity::SetBlanket (or its helper function CoSetProxyBlanket). |
|
%EOAC_NONE = &H0 |
|
EXTCONN Enumeration |
|
The EXTCONN
enumeration specifies the type of external connection existing on an
embedded object. Currently, the only supported type is EXTCONN_STRONG,
meaning that the external connection is a link. This EXTCONN constant
is used in the IExternalConnection::AddConnection and
IExternalConnection::ReleaseConnection methods. |
|
%EXTCONN_STRONG = &H0001 |
|
MKRREDUCE Enumeration |
|
The MKRREDUCE
enumeration constants are used to specify how far the moniker should be
reduced. They are used in the IMoniker::Reduce method. |
|
%MKRREDUCE_ONE = 196608 ' 3<<16 |
|
MKSYS Enumeration |
|
The MKSYS enumeration constants indicate the moniker's class. They are returned from the IMoniker::IsSystemMoniker method. MKSYS is defined in Objidl.h.
|
|
%MKSYS_NONE = 0 |
|
MSHCTX Enumeration |
|
The MSHCTX enumeration constants specify the destination context, which is the process in which the unmarshaling is to be done. These flags are used in the IMarshal and IStdMarshalInfo interfaces and in the CoMarshalInterface and CoGetStandardMarshal functions.
|
|
%MSHCTX_LOCAL = 0 |
|
MSHLFLAGS Enumeration |
|
The MSHLFLAGS enumeration constants determine why the marshaling is to be done. These flags are used in the IMarshal interface and the CoMarshalInterface and CoGetStandardMarshal functions.
|
|
%MSHLFLAGS_NORMAL = 0 |
|
PENDINGMSG Enumeration |
|
The PENDINGMSG enumeration constants are return values of IMessageFilter::MessagePending.
|
|
%PENDINGMSG_CANCELCALL = 0 |
|
PENDINGTYPE Enumeration |
|
The PENDINGTYPE enumeration constants indicate the level of nesting in the IMessageFilter::MessagePending method.
|
|
%PENDINGTYPE_TOPLEVEL = 1 |
|
RPC_C_AUTHN_XXX constants |
|
These values specify
authentication services by identifying the security package that provides
the service, such as NTLMSSP, Kerberos, or SChannel. They are used in the
SOLE_AUTHENTICATION_SERVICE and the SOLE_AUTHENTICATION_INFO structures. The
SOLE_AUTHENTICATION_SERVICE structure is passed by the server to the
CoInitializeSecurity function and can be retrieved by the
CoQueryAuthenticationServices function. A pointer to a
SOLE_AUTHENTICATION_INFO structure is passed by the client to the
CoInitializeSecurity function. For more information on the security packages
identified by these values, such as NTLMSSP and Kerberos, see
COM and Security Packages. |
|
%RPC_C_AUTHN_NONE = 0 |
|
RPC_C_AUTHN_LEVEL_XXX constants |
|
Used in the security
functions and interfaces to specify an authentication level, which indicates
the amount of authentication provided to help protect the integrity of the
data. Each level includes the protection provided by the previous levels. |
|
%RPC_C_AUTHN_LEVEL_DEFAULT = 0 |
|
RPC_C_AUTHZ_XXX constants |
|
These values define
what the server authorizes, and they are used by methods of the
IClientSecurity interface. They are used in the SOLE_AUTHENTICATION_SERVICE
structure, which is retrieved by the CoQueryAuthenticationServices function.
The RPC_C_AUTHZ_xxx values are also used in the SOLE_AUTHENTICATION_INFO
structure, which in turn is a member of the SOLE_AUTHENTICATION_LIST
structure. This structure, which is a list of authentication services, the
authorization services they perform, and the authentication information for
each service, is passed to the CoInitializeSecurity function and the
IClientSecurity::SetBlanket method. |
|
%RPC_C_AUTHZ_NONE = 0 |
|
RPC_C_IMP_LEVEL_XXX constants |
|
Used in the security
functions and interfaces to specify an impersonation level, which indicates
the amount of authority given to the server when it is impersonating the
client. |
|
%RPC_C_IMP_LEVEL_DEFAULT = 0 |
|
REGCLS Enumeration |
|
The REGCLS enumeration defines values used in CoRegisterClassObject to control the type of connections to a class object.
|
|
%REGCLS_SINGLEUSE = 0 |
|
SERVERCALL Enumeration |
|
The SERVERCALL enumeration constants indicate the status of server call returned by IMessageFilter::HandleInComingCall and passed to IMessageFilter::RetryRejectedCall.
|
|
%SERVERCALL_ISHANDLED = 0 |
|
THDTYPE Enumeration |
|
The THDTYPE enumeration constants indicate whether a particular thread supports a message loop.
|
|
%THDTYPE_BLOCKMESSAGES = 0 |
|
TYSPEC Enumeration |
|
The TYSPEC enumeration and uCLSSPEC union provide ways of mapping to a Class ID.
|
|
%TYSPEC_CLSID = 0 |
Page last updated on Friday, 16 June 2006 09:07:50 +0200