ACX_REQUEST_TYPE enumeration (acxrequest.h)
The ACX_REQUEST_TYPE enumeration describes the possible types of ACX requests.
Syntax
typedef enum _ACX_REQUEST_TYPE {
AcxRequestTypeUnknown,
AcxRequestTypeAny,
AcxRequestTypeCreate,
AcxRequestTypeProperty,
AcxRequestTypeMethod,
AcxRequestTypeEvent,
AcxRequestTypeResetState,
AcxRequestTypeMax
} ACX_REQUEST_TYPE, *PACX_REQUEST_TYPE;
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(¶ms);
AfxRequest::GetParameters(Request, ¶ms);
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.
Requirements
Requirement | Value |
---|---|
Header | acxrequest.h |