// acxstreams.h
NTSTATUS AcxStreamInitAssignMethods(
PACXSTREAM_INIT StreamInit,
PACX_METHOD_ITEM Methods,
ULONG MethodsCount
);
View the official Windows Driver Kit DDI referenceNo description available.
The AcxStreamInitAssignMethods function assigns an array of methods to a stream using the ACXSTREAM_INIT object.
StreamInitDefined by a ACXSTREAM_INIT object, that is used to define the stream initialization. For more information about ACX Objects, see ACX - Summary of ACX Objects.
MethodsAn array of ACX_METHOD_ITEM that describes the methods to be assigned.
MethodsCountA one based count of the number of methods in the Methods array.
Returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code. For more information, see Using NTSTATUS Values.
Example usage is shown below.
static ACX_METHOD_ITEM StreamMethods[] =
{
{
&KSMETHODSETID_AcxTestMethod,
KSMETHOD_ACXSTREAM_TEST_IN2OUT,
ACX_METHOD_ITEM_FLAG_SEND,
Codec_EvtTestIn2OutMethodCallback,
NULL, // Reserved
sizeof(ULONG), // ControlCb
sizeof(ULONG), // ValueCb
},
};
static ULONG StreamMethodsCount = SIZEOF_ARRAY(StreamMethods);
status = AcxStreamInitAssignMethods(StreamInit,
StreamMethods,
StreamMethodsCount);
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.