IMiniportWaveRTStream::SetFormat method (portcls.h)
The SetFormat method sets the data format of the wave stream.
Syntax
NTSTATUS SetFormat(
[in] PKSDATAFORMAT DataFormat
);
Parameters
[in] DataFormat
Pointer to a KSDATAFORMAT structure that describes the requested data format.
Return value
The following table shows the possible return status codes.
Return code | Description |
---|---|
STATUS_SUCCESS | The call was successful |
STATUS_INVALID_PARAMETER | The specified format is either not valid or not supported by the driver, or the format cannot be changed while the stream is running. |
Remarks
None
Requirements
Requirement | Value |
---|---|
Header | portcls.h |
IRQL | PASSIVE_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for