RecordType Property
This property contains the record type.
Syntax
ANSI (Cross Platform) int GetRecordType(int iRecordIndex); Unicode (Windows) INT GetRecordType(INT iRecordIndex);
Possible Values
RT_ADDRESS(1),
RT_NS(2),
RT_MD(3),
RT_MF(4),
RT_CNAME(5),
RT_SOA(6),
RT_MAIL_BOX(7),
RT_MAIL_GROUP(8),
RT_MR(9),
RT_NULL(10),
RT_WKS(11),
RT_POINTER(12),
RT_HOST_INFO(13),
RT_MAIL_INFO(14),
RT_MX(15),
RT_TEXT(16),
RT_RP(17),
RT_AFSDB(18),
RT_X25(19),
RT_ISDN(20),
RT_RT(21),
RT_AAAA(28),
RT_SRV(33),
RT_NAPTR(35)
- (int)recordType:(int)recordIndex;
Possible Values
RT_ADDRESS(1),
RT_NS(2),
RT_MD(3),
RT_MF(4),
RT_CNAME(5),
RT_SOA(6),
RT_MAIL_BOX(7),
RT_MAIL_GROUP(8),
RT_MR(9),
RT_NULL(10),
RT_WKS(11),
RT_POINTER(12),
RT_HOST_INFO(13),
RT_MAIL_INFO(14),
RT_MX(15),
RT_TEXT(16),
RT_RP(17),
RT_AFSDB(18),
RT_X25(19),
RT_ISDN(20),
RT_RT(21),
RT_AAAA(28),
RT_SRV(33),
RT_NAPTR(35)
#define PID_DNS_RECORDTYPE 14 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_DNS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_DNS_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
1
Remarks
This property contains the record type.
Record types correspond to QueryType and are defined as follows:
rtAddress (1) | Address Record |
rtNS (2) | Name Server Record |
rtMD (3) | Mail Destination Record |
rtMF (4) | Mail Forwarder Record |
rtCName (5) | Canonical Name Record |
rtSOA (6) | Start Of Authority Record |
rtMailBox (7) | MailBox Record |
rtMailGroup (8) | Mail Group Record |
rtMR (9) | MailBox Rename Record |
rtNULL (10) | NULL Record |
rtWKS (11) | Well Known Services Record |
rtPointer (12) | Pointer Record |
rtHostInfo (13) | Host Information Record |
rtMailInfo (14) | Mail Information Record |
rtMX (15) | Mail Exchange Record |
rtText (16) | Text Record |
rtRP (17) | Responsible Person Record |
rtAFSDB (18) | Service Record |
rtX25 (19) | X25 Record |
rtISDN (20) | ISDN Record |
rtRT (21) | Route Through Record |
rtAAAA (28) | AAAA Record |
rtSRV (33) | SRV Record (location of services) |
rtNAPTR (35) | NAPTR Record (Naming Authority Pointer) |
The RecordIndex parameter specifies the index of the item in the array. The size of the array is controlled by the RecordCount property.
This property is read-only and not available at design time.
Data Type
Integer