SceSvcAttachmentConfig callback function

The SceSvcAttachmentConfig function is called by the Security Configuration Engine when the system is configured.

Syntax

SCESTATUS WINAPI SceSvcAttachmentConfig(
  _In_ PSCESVC_CALLBACK_INFO pSceCbInfo
);

Parameters

pSceCbInfo [in]

Pointer to a SCESVC_CALLBACK_INFO structure that contains the database handle and the callback functions 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.

Remarks

When implementing this function, use the callback function pointed to by the pfQueryInfo member of the SCESVC_CALLBACK_INFO structure (pSceCbInfo->pfQueryInfo) to retrieve configuration information. Then configure the service using the returned information.

This function must do the following:

  • Query configuration information from the Security Configuration tool set using the callback function pointed to by the pfQueryInfo member of the SCESVC_CALLBACK_INFO structure (pSceCbInfo->pfQueryInfo).
  • Configure the service using the configuration information.

For more information, see Implementing SceSvcAttachmentConfig

Requirements

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

See also

SCESVC_CALLBACK_INFO

SceSvcAttachmentAnalyze