The SetFormat method sets the KS data format of the wave stream.
NTSTATUS
SetFormat(
IN PKSDATAFORMAT DataFormat
);
SetFormat returns STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error code.
Declared in portcls.h. Include portcls.h.
The SetFormat method is called at IRQL PASSIVE_LEVEL.