Export (0) Print
Expand All

Functions

The platform provides the following functions.

Note that the functions relating to the File API, prefaced with Ipcf rather than Ipc, are grouped together at the end of the functions listing.

Note  For error condition processing, always use a call to IpcGetErrorMessageText right after an SDK API call fails, so you get complete information about the nature of the error.

In this section

TopicDescription

IpcAccessCheck

Checks whether a key object grants the requested right.

IpcCloseHandle

Closes a handle.

IpcCreateLicenseFromScratch

Returns a handle to a license created from scratch.

IpcCreateLicenseFromTemplateID

Returns a handle to a license created from a template.

IpcDecrypt

Decrypts encrypted data.

IpcEncrypt

Encrypts plaintext data.

IpcFreeMemory

Frees a buffer allocated by another Active Directory Rights Management Services SDK 2.1 function.

IpcGetErrorMessageText

Returns the error message text associated with a supplied error code.

IpcGetGlobalProperty

Returns information about environment properties.

IpcGetKey

Returns a handle to a key object created from a serialized license.

IpcGetKeyProperty

Returns requested property information.

IpcGetLicenseProperty

Returns information about a license.

IpcGetSerializedLicenseProperty

Retrieves the information available from a serialized license.

IpcGetTemplateIssuerList

Returns available issuers of rights policy templates.

IpcGetTemplateList

Returns official rights policy templates.

IpcInitialize

Locates the installed version of Msipc.dll and calls the Windows LoadLibrary against it.

IpcProtectWindow

Protects a window by using mechanisms available on the current operating system.

IpcSerializeLicense

Serializes a license.

IpcSetGlobalProperty

Sets environment properties for the system.

IpcSetLicenseProperty

Sets license properties for the platform.

IpcUnprotectWindow

Removes the protection from a window protected using IpcProtectWindow.

IpcfDecryptFile

Decrypts the specified file on disk.

IpcfDecryptFileStream

Decrypts a file as a byte stream.

IpcfEncryptFile

Encrypts a file on disk.

IpcfEncryptFileStream

Encrypts a file as a byte stream.

IpcfGetFileProperty

Queries the properties of an IPCF_FILE_HANDLE or the file represented by it.

IpcfGetSerializedLicenseFromFile

Gets the license associated with a file.

IpcfGetSerializedLicenseFromFileStream

Gets the license associated with a file stream.

IpcfIsFileEncrypted

Determines whether a file on disk is encrypted.

IpcfIsFileStreamEncrypted

Determines whether a file stream is encrypted.

IpcfOpenFileOnHandle

Gets an IPCF_FILE_HANDLE associated with an encrypted file which can be used to access and modify that file's data.

IpcfOpenFileOnILockBytes

Gets an IPCF_FILE_HANDLE associated with an encrypted byte stream which can be used to access and modify that stream's data.

IpcfLogicalFileRangeToRawFileRange

Gets the raw file range for the given logical file range of the protected file content.

IpcfReadFile

Reads protected content of a protected file given a logical file range.

IpcfSetEndOfFile

Truncates a protected file.

IpcfSetFileProperty

Sets the properties on IPCF_FILE_HANDLE or on the file represented by it.

IpcfWriteFile

Modifies protected content of a protected file to a given logical file range.

 

 

 

Show:
© 2015 Microsoft