Share via


IDirectDrawVideo::SetDefault

 
Microsoft DirectShow 9.0

IDirectDrawVideo::SetDefault

The SetDefault method makes the current property settings the global default.

Syntax

  HRESULT SetDefault(void);

Parameters

This method takes no parameters.

Return Values

Returns an HRESULT value.

Remarks

All properties set through IDirectDrawVideo are specific to that particular instance. Call this method to make properties set on this instance of IDirectDrawVideo the global default of all DirectShow instances of this interface. After it is called, the current property settings will persist between the subsequent starting of other DirectShow filter graphs and between any computer restarts.

Requirements

Header: Declared in Amvideo.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also