Funzione AtaPortRegistryFreeBuffer (irb.h)
La routine AtaPortRegistryFreeBuffer libera il buffer del Registro di sistema allocato usando AtaPortRegistryAllocateBuffer.
Sintassi
void AtaPortRegistryFreeBuffer(
[in] PVOID ChannelExtension,
[in] PVOID Buffer
);
Parametri
[in] ChannelExtension
Puntatore all'estensione del canale.
[in] Buffer
Puntatore al buffer da liberare.
Valore restituito
nessuno
Osservazioni
AtaPortRegistryFreeBuffer scarica le operazioni di scrittura posticipate nel Registro di sistema.
Il driver miniport deve chiamare AtaPortRegistryFreeBuffer nella routine AtaChannelInitRoutine o nella routine IdeHwControl . Non può chiamare AtaPortRegistryFreeBuffer da qualsiasi altra routine. Inoltre, il driver miniport può chiamare solo AtaPortRegistryFreeBuffer dalla routine IdeHwControl se la routine IdeHwControl è stata chiamata e ha un valore di StartChannel o StopChannel nel relativo parametro ControlAction.
Requisiti
Requisito | Valore |
---|---|
Piattaforma di destinazione | Desktop |
Intestazione | irb.h (include Ata.h, Irb.h) |
Libreria | Ataport.lib; Pciidex.lib |