3.2.4.13.4 Add (Opnum 10)

The Add method adds a trace provider to the collection.

 HRESULT Add(
   ITraceDataProvider* pProvider
 );

pProvider: Supplies the event trace data provider to be added.

Return Values: This method MUST return an HRESULT with the severity bit clear on success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.