Purpose
This
function returns a list containing the GUID/name pair for each of
the currently installed service provider modules that provide services
in any of the OCSF functional categories selected in the service mask.
Format
CSSM_LIST_PTR CSSMAPI CSSM_ListModules (CSSM_SERVICE_MASK ServiceMask, CSSM_BOOL MatchAll)
Parameters
Input
- ServiceMask
- A bit-mask selecting the OCSF functional categories. This information
can be used to select information about potential service provider
modules.
- MatchAll
- A Boolean value defining how the multiple bits in the service
mask are interpreted. CSSM_TRUE means the service modules selected
must match all service areas specified by the service mask. CSSM_FALSE
means the service module selected must specify one or more of the
service areas specified by the service mask.
Return Value
A pointer to the CSSM_LIST
structure containing the GUID/name pair for each of the modules.
If the pointer is NULL, an error has occurred. Use CSSM_GetError
to obtain the error code.
Related Information
CSSM_GetModuleInfo
CSSM_FreeModuleInfo