Bagikan melalui


DEVPROP_TYPE_DEVPROPTYPE

Di Windows Vista dan versi Windows yang lebih baru, pengidentifikasi DEVPROP_TYPE_DEVPROPTYPE mewakili pengidentifikasi tipe data dasar yang menunjukkan jenis data adalah nilai yang di ketik DEVPROPTYPE.

Keterangan

Jenis properti DEVPROP_TYPE_DEVPROPTYPE hanya dapat dikombinasikan dengan pengubah jenis data properti DEVPROP_TYPEMOD_ARRAY .

Mengatur Properti Tipe ini

Untuk mengatur properti yang jenis data dasarnya DEVPROP_TYPE_DEVPROPTYPE, panggil fungsi properti SetupDiSetXxx yang sesuai, atur parameter input fungsi sebagai berikut:

  • Atur parameter PropertyType ke DEVPROP_TYPE_DEVPROPTYPE, atur parameter PropertyBuffer ke penunjuk ke buffer yang berisi nilai DEVPROPTYPE, dan atur parameter PropertyBufferSize ke sizeof(DEVPROPTYPE).

  • Atur parameter fungsi yang tersisa yang sesuai untuk mengatur properti .

Persyaratan

Header

Devpropdef.h (termasuk Devpropdef.h)