Sets the stream source frequency divider value. This may be used to draw several instances of geometry.
HRESULT SetStreamSourceFreq( UINT StreamNumber, UINT FrequencyParameter );
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
There are two constants defined in d3d9types.h that are designed to use with SetStreamSourceFreq: D3DSTREAMSOURCE_INDEXEDDATA and D3DSTREAMSOURCE_INSTANCEDATA. To see how to use the constants, see Efficiently Drawing Multiple Instances of Geometry.
Header: Declared in D3d9.h.