IServiceGroup::AddMember method (portcls.h)
The AddMember
method adds a member to the service group.
Syntax
NTSTATUS AddMember(
[in] PSERVICESINK pServiceSink
);
Parameters
[in] pServiceSink
Pointer to the IServiceSink interface of the new member of the service group
Return value
AddMember
returns STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error code.
Remarks
The AddMember
method calls AddRef on the pServiceSink object. When the object is later removed, the RemoveMember method calls Release on the pServiceSink object. This behavior is in accordance with the reference-counting conventions for COM objects.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | portcls.h (include Portcls.h) |
IRQL | PASSIVE_LEVEL |