IMA_GetAssociatedPluginOid - Gets the object ID for a plugin associated with the specified object ID
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_GetAssociatedPluginOid( /* in */ IMA_OID oid /* out */ IMA_OID *pPluginOid );
The ID of an object that has been received from a previous API call.
A pointer to an IMA_OID data structure allocated by the caller.
If this argument is successfully returned, it contains the object ID of a plugin associated with the object specified by the oid argument. The object ID of the plugin can then be used to perform tasks associated with the plugin, such as getting the properties of the plugin, or sending the plugin an IOCtl (input/output control) call.
The IMA_GetAssociatedPluginOid() API gets the object ID for the plugin associated with the object specified in the oid argument.
Returned if the oid argument specifies an object owned by the library instead of an object owned by a plugin
Returned if the pPluginOid argument is NULL, or specifies a memory area to which data cannot be written
Returned if the oid argument specifies an object with an invalid type
Returned if the oid argument does not specify a plugin known to the system
Returned if the library implementation does not support plugins
See attributes(7) for descriptions of the following attributes: