ISceSvcAttachmentData::CloseHandle method (scesvc.h)
The CloseHandle method closes a handle opened during a previous call to ISceSvcAttachmentData::Initialize.
Syntax
HRESULT CloseHandle(
[in] SCESVC_HANDLE scesvcHandle
);
Parameters
[in] scesvcHandle
The SCESVC_HANDLE to close.
Return value
The return value is an HRESULT. A value of S_OK indicates the method was successful.
Remarks
You should call this method when your attachment snap-in extension no longer requires the handle returned by ISceSvcAttachmentData::Initialize.
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 |