SceSvcAttachmentAnalyze callback function

The SceSvcAttachmentAnalyze function is called by the Security Configuration Engine when the system is analyzed.


SCESTATUS WINAPI SceSvcAttachmentAnalyze(


pSceCbInfo [in]

Pointer to a SCESVC_CALLBACK_INFO structure which contains an opaque database handle and callback function pointers to query, set, and free information.

Return value

If this function succeeds, it returns SCESTATUS_SUCCESS. Otherwise it returns an error code. For more information about the Security Configuration error codes, see Attachment Return Values.


The SceSvcAttachmentAnalyze function must do the following:

  • Directly query configuration information from the service.
  • Call the callback function pointed to by the pfQueryInfo member of the SCESVC_CALLBACK_INFO structure (pSceCbInfo->pfQueryInfo) to retrieve information from the security database.
  • Compute the differences between the information based on type and syntax.
  • Call the callback function pointed to by the pfSetInfo member of the SCESVC_CALLBACK_INFO structure (pSceCbInfo->pfSetInfo) to update the security database with the retrieved service information that is different.

For more information, see Implementing SceSvcAttachmentAnalyze.


Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]

See also

Implementing SceSvcAttachmentAnalyze