Поделиться через


Environment properties

Environment property constants are used to query and set properties using IpcGetGlobalProperty and IpcSetGlobalProperty.

Note

Environment properties should be set after IpcInitialize, but before calling any other Rights Management Services SDK 2.1 APIs.

IPC_EI_API_MODE

3

Use this constant to query or set the security mode. The default value is IPC_API_MODE_CLIENT. See API Mode Values for a list of security mode values.

IPC_EI_RESERVED

4

Reserved for future use.

IPC_EI_APPLICATOIN_ID

5

Use this constant to define the application ID to use when authenticating with Azure RMS.

This property is only supported with IpcSetGlobalProperty.

For more information, see IPC_AAD_APPLICATION_ID for more details.

IPC_EI_STORE_NAME

0x10000001

The value set for IPC_EI_STORE_NAME should be a valid folder name that is the location of a local store and must be no more than 8 characters. If this property is not set, the IPC_EI_STORE_NAME will be shared with all other applications that also do not set the IPC_EI_STORE_NAME.

[!Important]
We strongly recommend that this property be set to a valid value.

Requirements

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

See also

IpcInitialize

IpcGetGlobalProperty

IpcSetGlobalProperty

IPC_AAD_APPLICATION_ID

API Mode Values