Partilhar via


IpcGetGlobalProperty function

Returns information about environment properties of the Rights Management Services SDK 2.1 system.

Syntax

HRESULT WINAPI IpcGetGlobalProperty(
        DWORD  dwPropID,
  _Out_ LPVOID *ppvProperty
);

Parameters

dwPropID

The ID of the property that is being queried.

For a list of valid property IDs, see Environment Properties.

ppvProperty [out]

A pointer to a variable that receives a pointer to the buffer that contains the queried information. The buffer is allocated by the system and must be freed by calling IpcFreeMemory. The structure of the information depends on the dwPropID parameter. For more information, see Environment Properties.

Return value

If the function succeeds, the return value is S_OK. If the function fails, it returns an HRESULT value that indicates the error.

For more information, see Error codes for a description of all RMS SDK 2.1 return values.

Requirements

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

See also

Environment Properties

IpcFreeMemory

IpcSetGlobalProperty

Error codes