PcNewServiceGroup
The PcNewServiceGroup function creates and initializes a service group.
PORTCLASSAPI NTSTATUS NTAPI
PcNewServiceGroup(
OUT PSERVICEGROUP *OutServiceGroup,
IN PUNKNOWN OuterUnknown OPTIONAL
);
Parameters
- OutServiceGroup
- Pointer to the service-group object created by this function. This parameter points to the caller-allocated pointer variable into which the function outputs the pointer to the IServiceGroup object. Specify a valid, non-NULL pointer value for this parameter.
- OuterUnknown
- Pointer to the IUnknown interface of an object that needs to aggregate the object. Unless aggregation is required, set this parameter to NULL.
Return Value
PcNewServiceGroup returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code.
Headers
Declared in portcls.h. Include portcls.h.
Comments
The OutServiceGroup and OuterUnknown parameters follow the reference-counting conventions for COM objects.
See Also
IServiceGroup