skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 1:... HP Open Source Security for OpenVMS Volume 1:...
go to beginning of reference: API FunctionsAPI Functions
go to previous page: MDSUTIL_GetCredLocationFromGUIDMDSUTIL_GetCredLocationFromGUID
go to next page: MDSUTIL_GetModuleManagerInfoMDSUTIL_GetModuleManagerInfo
end of book navigation links


MDSUTIL_GetModuleInfo
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

MDSUTIL_GetModuleInfo - Gets information from the MDS registry for the add-inmodule.

SYNOPSIS  

# include <mds_util_api.h>
#include <mds_util_helper.h>

CSSM_RETURN CSSMAPI MDSUTIL_GetModuleInfo(const CSSM_GUID *ModuleGUID,CSSM_SERVICE_MASK UsageMask,uint32 SubserviceID,CSSM_USEE_TAG USEERequest,MDSUTIL_MODULE_INFO_PTR *pModuleInfo)


return to top LIBRARY  

Module Directory Services library (cdsa$mds300_shr.exe)


return to top PARAMETERS  

ModuleGUID (input)
 A pointer to the CSSM_GUID structure containingthe Globally Unique ID of the add-in module.
UsageMask (input)
 A bit mask specifying the module usage types usedto restrict the capabilities information returned by this function.An input value of zero specifies all usages for the specified module.
SubserviceID (input)
 A single subservice ID. Note that the operationmay already be limited by a service mask. If so, the subserviceID applies to all service categories selected by the service mask.
USEERequest (input)
 United States Export Exemption tag; should be setto CSSM_USEE_NONE.
pModuleInfo (output)
 A pointer to the module information.


return to top DESCRIPTION  

This function gets a list of descriptive information fromthe MDS registry for the add-in module identified by the ModuleGUID.The information returned can include all of the capability informationfor each of the subservices for each of the service types implementedby the selected module. The request for information can be limitedto a particular set of services, as specified by the UsageMask.The request may be further limited to one or all of the subservicesimplemented in one or all of the service categories. The MDSUTIL_FreeModuleInfofunction must be called to deallocate memory containing the list.


return to top RETURN VALUE  

NULL -- Error in retrieving information from the MDSregistry.

Not NULL -- A pointer to a module info structure containinga pointer to an array of zero or more service information structures.Each structure contains type information identifying the servicedescription as representing certificate library services, data storagelibrary services, and so on. The service descriptions are sub-classedinto subservice descriptions that describe the attributes and capabilitiesof a subservice.


return to top ERRORS  

Errors are described in the CDSA Technical Standard.
CSSMERR_CSSM_INVALID_POINTER

CSSMERR_CSSM_INVALID_GUID

CSSM_INVALID_SUBSERVICEID

CSSMERR_CSSM_MEMORY_ERROR

CSSMERR_CSSM_NOT_INITIALIZED

CSSM_ERRCODE_MDS_ERROR


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions: MDSUTIL_ModuleInstall, MDSUTIL_ModuleUninstall, MDSUTIL_ListModules, MDSUTIL_GetCredLocationFromGUID, MDSUTIL_FreeModuleInfo, MDSUTIL_FreeModuleList, MDSUTIL_ListModuleManagers, MDSUTIL_GetModuleManagerInfo, MDSUTIL_ModuleManagerInstall, MDSUTIL_ModuleManagerUninstall, MDSUTIL_Init, MDSUTIL_Term


go to previous page: MDSUTIL_GetCredLocationFromGUIDMDSUTIL_GetCredLocationFromGUID
go to next page: MDSUTIL_GetModuleManagerInfoMDSUTIL_GetModuleManagerInfo