次の方法で共有


API mode values

Constants for specifying security mode.

For more usage information see, Setting the API security mode.

IPC_API_MODE_CLIENT

1

Used for less trusted systems, such as those running on a client operating system.

IPC_API_MODE_SERVER

2

Used for more trusted systems, such as those running on a server operating system.

IPC_API_MODE_CLIENT_IMPERSONATION

3

This value is not supported and should not be used.

Note

This value may be removed from future versions of the RMS SDK 2.1.

The behavior of IpcSetGlobalProperty is undefined when using this value with the IPC_EI_API_MODE property.

Remarks

The security mode is queried or set by calling IpcGetGlobalProperty or IpcSetGlobalProperty with the IPC_EI_API_MODE environment property specified. For more information, see Environment Properties.

Requirements

Minimum supported client
Windows Vista with SP2
Minimum supported server
Windows Server 2008
Header
Ipcprot.h (include Msipc.h)

See also

Setting the API security mode

IpcGetGlobalProperty

IpcSetGlobalProperty

Environment Properties