Share via


CSeekingPassThru::CreateInstance

 
Microsoft DirectShow 9.0

CSeekingPassThru::CreateInstance

The CreateInstance method creates an instance of the object. This method supports creation of the object through a class factory. For more information, see CFactoryTemplate.

Syntax

  static CUnknown *CreateInstance(
    LPUNKNOWN pUnk, 
    HRESULT *phr
);

Parameters

pUnk

Pointer to the owner of this object. If the object is aggregated, pass a pointer to the aggregating object's IUnknown interface. Otherwise, set this parameter to NULL.

phr

Pointer to an HRESULT value. Ignored.

Return Value

Returns a pointer to a new CSeekingPassThru object.

Requirements

**  Header:** Declared in Seekpt.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also