Skip to content

Latest commit

 

History

History
122 lines (89 loc) · 2.66 KB

ns-acxrequest-acx_method_item.md

File metadata and controls

122 lines (89 loc) · 2.66 KB
UID tech.root title ms.date targetos description prerelease req.construct-type req.ddi-compliance req.dll req.header req.include-header req.kmdf-ver req.lib req.max-support req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.typenames req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NS:acxrequest._ACX_METHOD_ITEM
audio
ACX_METHOD_ITEM
07/26/2022
Windows
The ACX_METHOD_ITEM structure describes a method item that is the target of an ACX request.
false
structure
acxrequest.h
ACX_METHOD_ITEM, *PACX_METHOD_ITEM
apiref
HeaderDef
acxrequest.h
_ACX_METHOD_ITEM
PACX_METHOD_ITEM
ACX_METHOD_ITEM
_ACX_METHOD_ITEM
acxrequest/_ACX_METHOD_ITEM
PACX_METHOD_ITEM
acxrequest/PACX_METHOD_ITEM
ACX_METHOD_ITEM
acxrequest/ACX_METHOD_ITEM
c++

-description

The ACX_METHOD_ITEM structure describes a method item that is the target of an ACX request.

-struct-fields

-field Set

Specifies a GUID that identifies a KS (kernel streaming) method item set.

-field Id

Specifies the member of the member set.

-field Flags

The Flags field can be used to set the following Flags defined in the AcxRequest header.

#define ACX_METHOD_ITEM_FLAG_NONE               0x00000000
#define ACX_METHOD_ITEM_FLAG_SEND               0x00000001 // KSMETHOD_TYPE_SEND
#define ACX_METHOD_ITEM_FLAG_BASICSUPPORT       0x00000200 // KSMETHOD_TYPE_BASICSUPPORT

-field EvtAcxObjectProcessRequest

The EVT_ACX_OBJECT_PROCESS_REQUEST callback method handler associated with this item.

-field Reserved

This field is reserved.

-field ArgsCb

The minimum count in bytes (size) of the Args buffer. Set to zero if no minimum value.

-field ResultCb

The minimum count in bytes (size) of the Result buffer. Set to zero if no minimum value.

-field ResultType

The minimum count in bytes (size) of the Result buffer. Set to zero if there is no minimum value.

-remarks

Example

Example usage is shown below.

static ACX_METHOD_ITEM CircuitMethods[] =
{
    {
        &KSMETHODSETID_AcxTestMethod,
        KSMETHOD_ACXCIRCUIT_TEST_IN2OUT,
        ACX_METHOD_ITEM_FLAG_SEND,
        Codec_EvtTestIn2OutMethodCallback,
        NULL,               // Reserved
        sizeof(ULONG),      // ArgsCb
        sizeof(ULONG),      // ResultCb
    },
};

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

-see-also