Rules for Audio Drivers
The DDI compliance rules for audio (PortCls) miniport drivers verify the DDI interface between PortCls.sys and its miniport drivers.
In this section
Topic | Description |
---|---|
The PcAddAdapterDevice rule specifies that a PortCls miniport driver correctly uses the PcAddAdapterDevice function, specifically that the DeviceExtensionSize should be either zero (0) or no less than PORT_CLASS_DEVICE_EXTENSION_SIZE. |
|
The PcAllocateAndMapPages rule specifies that a PortCls miniport driver calls the following interfaces, using the correct parameters:
|
|
The PcAllocatedPages rule specifies that a PortCls miniport driver frees previous allocated pages by calling AllocatePagesForMdl or AllocateContiguousPagesForMdl methods. |
|
The PcIrqlDDIs rule specifies that a PortCls miniport driver must call PortCls DDIs at the correct IRQL level. |
|
The PcIrqlIport rule specifies that a PortCls miniport driver must call PortCls IPort interfaces at the correct IRQL level. |
|
This rule verifies that a PortCls miniport driver should not call PoRequestPowerIrp with IRP_MN_SET_POWER. |
|
The PcPropertyRequest rule specifies that a PortCls miniport driver should never call the PcCompletePendingPropertyRequest with an NtStatus value of STATUS_PENDING. |
|
The PcRegisterAdapterPower rule specifies that a PortCls miniport driver should not:
|
|
The PcTimedWaveRtStreamSetState rule specifies that a ProtCls miniport driver makes state transitions through IMiniportWaveRTStream::SetState within the required time. |
|
The PcUnmapAllocatedPages rule specifies that:
|