SoftwareShield COM-Activator™ Component  > COM-Activator™ Reference > ACG_PARAM_TYPE

ACG_PARAM_TYPE


The ACG_PARAM_TYPE enumeration is used in the DecodeARC function as a reference parameter to allow you determine what type of parameter a particular Authorization Definition takes (which was in turn determined from an Authorization Request Code).

enum ACG_PARAM_TYPE

{

PTYPE_NUMERIC = 2001,

PTYPE_DATE = 2002,

PTYPE_COMPOSITE = 2003,

PTYPE_NONE = 2004

};

A particular ACG_PARAM_TYPE value indicates the type of parameter that the Authorization Definition associated with an Authorization Request Code takes.

ACG_PARAM_TYPE Meaning:

PTYPE_NUMERIC: This value indicates that the Authorization Definition takes a numeric parameter.  Numeric parameters are always 16-bit unsigned values.

 

PTYPE_DATE: This value indicates that the Authorization Definition takes a date parameter.  Date parameters must be on or after January 1, 2000.

 

PTYPE_COMPOSITE: This value indicates that the Authorization Definition takes a (run-time) composite parameter.  Composite parameters are encoded as a 16-bit, boolean bit-field.

 

PTYPE_NONE: This value indicates that the Authorization Definition takes no parameter.  

 

Note: The COM Activator only comes with the Enterprise, Internet and Server Editions of the SoftwareShield SDK.

Related Topics