struktur WDF_CHILD_LIST_ITERATOR (wdfchildlist.h)

[Hanya berlaku untuk KMDF]

Struktur WDF_CHILD_LIST_ITERATOR mengidentifikasi jenis perangkat anak yang akan diambil kerangka kerja saat driver memanggil WdfChildListRetrieveNextDevice.

Sintaks

typedef struct _WDF_CHILD_LIST_ITERATOR {
  ULONG Size;
  ULONG Flags;
  PVOID Reserved[4];
} WDF_CHILD_LIST_ITERATOR, *PWDF_CHILD_LIST_ITERATOR;

Anggota

Size

Ukuran, dalam byte, dari struktur ini.

Flags

Satu atau beberapa bendera yang ditentukan oleh enumerasi WDF_RETRIEVE_CHILD_FLAGS .

Reserved[4]

Dicadangkan untuk penggunaan internal saja.

Keterangan

Driver harus menginisialisasi struktur WDF_CHILD_LIST_ITERATOR dengan memanggil WDF_CHILD_LIST_ITERATOR_INIT.

Struktur WDF_CHILD_LIST_ITERATOR digunakan sebagai input ke metode WdfChildListBeginIteration,WdfChildListRetrieveNextDevice, dan WdfChildListEndIteration. Driver harus mengatur anggota Bendera sebelum memanggil WdfChildListBeginIteration. Setelah memanggil WdfChildListBeginIteration, driver tidak boleh mengubah konten struktur sampai setelah memanggil WdfChildListEndIteration.

Untuk informasi selengkapnya tentang daftar anak, lihat Enumerasi Dinamis.

Persyaratan

Persyaratan Nilai
Versi KMDF minimum 1,0
Header wdfchildlist.h (termasuk Wdf.h)

Lihat juga

WDF_CHILD_LIST_ITERATOR_INIT

WDF_RETRIEVE_CHILD_FLAGS

WdfChildListBeginIteration

WdfChildListEndIteration

WdfChildListRetrieveNextDevice