MSHCTX enumeration (wtypesbase.h)
Specifies the destination context, which is the process in which the unmarshaling is to be done.
Syntax
typedef enum tagMSHCTX {
MSHCTX_LOCAL = 0,
MSHCTX_NOSHAREDMEM = 1,
MSHCTX_DIFFERENTMACHINE = 2,
MSHCTX_INPROC = 3,
MSHCTX_CROSSCTX = 4,
MSHCTX_CONTAINER
} MSHCTX;
Constants
MSHCTX_LOCAL Value: 0 The unmarshaling process is local and has shared memory access with the marshaling process. |
MSHCTX_NOSHAREDMEM Value: 1 The unmarshaling process does not have shared memory access with the marshaling process. |
MSHCTX_DIFFERENTMACHINE Value: 2 The unmarshaling process is on a different computer. The marshaling code cannot assume that a particular piece of application code is installed on that computer. |
MSHCTX_INPROC Value: 3 The unmarshaling will be done in another apartment in the same process. |
MSHCTX_CROSSCTX Value: 4 Create a new context in the current apartment. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | wtypesbase.h (include WTypes.h) |