ISceSvcAttachmentData::GetData method (scesvc.h)

The GetData method retrieves configuration information from the Security Configuration snap-in.

Syntax

HRESULT GetData(
  [in]      SCESVC_HANDLE            scesvcHandle,
  [in]      SCESVC_INFO_TYPE         sceType,
  [out]     PVOID                    *ppvData,
  [in, out] PSCE_ENUMERATION_CONTEXT psceEnumHandle
);

Parameters

[in] scesvcHandle

Type: SCESVC_HANDLE

A SCESVC_HANDLE returned during a previous call to ISceSvcAttachmentData::Initialize.

[in] sceType

Type: SCESVC_INFO_TYPE

A SCESVC_INFO_TYPE value that indicates the type of information requested from the security database. It can be one of the following values.

Value Meaning
SCE_SERVICE_CONFIGURATION_INFO
Requests configuration information from the database.
SCE_SERVICE_ANALYSIS_INFO
Requests analysis information from the database.

[out] ppvData

Type: PVOID*

Pointer to a buffer which receives the data.

[in, out] psceEnumHandle

Type: PSCE_ENUMERATION_CONTEXT

An opaque handle used to navigate through the security database.

Return value

Type: HRESULT

The return value is an HRESULT. A value of S_OK indicates the method was successful.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header scesvc.h
DLL Wsecedit.dll

See also

ISceSvcAttachmentData

ISceSvcAttachmentData::Initialize

SCESVC_INFO_TYPE