Previous Next

IMiniportWaveCyclicStream::SetFormat

The SetFormat method sets the KS data format of the wave stream.

NTSTATUS 
  SetFormat(
    IN PKSDATAFORMAT  DataFormat
    );

Parameters

DataFormat
Specifies the new format of the stream. This parameter is a pointer to a structure of type KSDATAFORMAT.

Return Value

SetFormat returns STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error code.

Headers

Declared in portcls.h. Include portcls.h.

Comments

The SetFormat method is called at IRQL PASSIVE_LEVEL.

See Also

KSDATAFORMAT