ACX_PROPERTY_VERB 枚举描述 ACX 属性支持的谓词作的类型。
语法
typedef enum _ACX_PROPERTY_VERB {
AcxPropertyVerbNone,
AcxPropertyVerbGet,
AcxPropertyVerbSet,
AcxPropertyVerbBasicSupport,
AcxPropertyVerbSetSupport,
AcxPropertyVerbMax
} ACX_PROPERTY_VERB, *PACX_PROPERTY_VERB;
常数
AcxPropertyVerbNone不支持谓词。 |
AcxPropertyVerbGet已启用动词支持。 |
AcxPropertyVerbSet已启用设置动词支持。 |
AcxPropertyVerbBasicSupport基本谓词支持可用。 |
AcxPropertyVerbSetSupport动词集支持可用。 |
AcxPropertyVerbMax对于内部验证,请勿使用。 |
言论
例
示例用法如下所示。
(
_In_ WDFDEVICE Device,
_In_ ACXTARGETCIRCUIT TargetCircuit,
_In_ GUID PropertySet,
_In_ ULONG PropertyId,
_In_ ACX_PROPERTY_VERB Verb,
_Inout_ PVOID Value,
_In_ ULONG ValueCb
)
{
PAGED_CODE();
ACX_REQUEST_PARAMETERS requestParams;
ACX_REQUEST_PARAMETERS_INIT_PROPERTY(
&requestParams,
PropertySet,
PropertyId,
Verb,
AcxItemTypeCircuit,
0,
NULL, 0,
Value, ValueCb
);
ACX 要求
最低 ACX 版本: 1.0
有关 ACX 版本的详细信息,请参阅 ACX 版本概述。
要求
| 要求 | 价值 |
|---|---|
| 标头 | acxrequest.h |