Funzione AtaPortRegistryFreeBuffer (irb.h)
La routine AtaPortRegistryFreeBu ffer libera il buffer del Registro di sistema allocato tramite 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 è possibile chiamare AtaPortRegistryFreeBuffer da qualsiasi altra routine. Inoltre, il driver miniport può chiamare solo AtaPortRegistryFreeBuffer dalla routine IdeHwControl se è stata chiamata la routine IdeHwControl e ha un valore StartChannel o StopChannel nel parametro ControlAction .
Fabbisogno
Requisito | Valore |
---|---|
piattaforma di destinazione | Desktop |
intestazione | irb.h (include Ata.h, Irb.h) |
libreria | Ataport.lib; Pciidex.lib |