ACX_REQUEST_TYPE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// acxrequest.h

typedef enum _ACX_REQUEST_TYPE {
  AcxRequestTypeUnknown,
  AcxRequestTypeAny,
  AcxRequestTypeCreate,
  AcxRequestTypeProperty,
  AcxRequestTypeMethod,
  AcxRequestTypeEvent,
  AcxRequestTypeResetState,
  AcxRequestTypeMax
} ACX_REQUEST_TYPE, *PACX_REQUEST_TYPE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-acxrequest-acx_request_type)

Description

The ACX_REQUEST_TYPE enumeration describes the possible types of ACX requests.

Constants

AcxRequestTypeUnknown

The request type is unknown.

AcxRequestTypeAny

Any Request types is possible.

AcxRequestTypeCreate

This is a create request.

AcxRequestTypeProperty

This is a property request.

AcxRequestTypeMethod

This is a method request.

AcxRequestTypeEvent

This is an event request.

AcxRequestTypeResetState

This is a reset request.

AcxRequestTypeMax

For internal validation, do not use.

Remarks

Example

Example usage is shown below.

    ACX_REQUEST_TYPE reqType;

    {
        ACX_REQUEST_PARAMETERS  params;
        ACX_REQUEST_PARAMETERS_INIT(&params);
        AfxRequest::GetParameters(Request, &params);

        reqType = params.Type;
    }

    switch(reqType)
    {
    case AcxRequestTypeProperty:
        AfxHelper::DispatchProperty(GetObjectHandle(), Request, &m_Properties, recorder);
        break;

    case AcxRequestTypeMethod:
        AfxHelper::DispatchMethod(GetObjectHandle(), Request, &m_Methods, recorder);
        break;
...

ACX requirements

Minimum ACX version: 1.0

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

See also