Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure contains data for creating an Information Access Service (IAS) object.
Syntax
typedef struct _IAS_SET { char irdaClassName[61]; char irdaAttribName[61]; u_short irdaAttribType; union { int irdaAttribInt; struct { int Len; u_char OctetSeq[1]; u_char Reserved[3]; } irdaAttribOctetSeq; struct { int Len; u_char CharSet; u_char UsrStr[1]; u_char Reserved[2]; } irda AttribUsrStr; } irdaAttribute; } _IAS_SET, *PIAS_SET; |
Members
- irdaClassName
-
Null-terminated string that is the class name for an IAS object. Maximum of 60 characters.
- irdaAttribName
-
Null-terminated string that is the attribute name for an IAS object. Maximum of 60 characters.
- irdaAttribType
-
Attribute type, set to one of the values in the following table.
Value Description IAS_ATTRIB_INT
Identifies an integer attribute value.
IAS_ATTRIB_OCTETSEQ
Identifies a binary, or octet, attribute value.
IAS_ATTRIB_STR
Identifies a string attribute value.
- irdaAttribInt
-
32-bit signed integer attribute value.
- Len(IAS_ATTRIB_OCTETSEQ)
-
Length of OctetSeqin octets, or bytes. It is a value from 0 through 1024.
- OctetSeq(IAS_ATTRIB_OCTETSEQ)
-
A binary value to associate with irdaAttribName.
- Len(IAS_ATTRIB_STR)
-
Length of UsrStr, in octets. It is a value from 0 through 255.
- CharSet(IAS_ATTRIB_STR)
-
The selected character set. The following table shows the possible values.
Value Description LmCharSetASCII
LmCharSetISO_8859_5
LmCharSetISO_8859_1
LmCharSetISO_8859_6
LmCharSetISO_8859_2
LmCharSetISO_8859_7
LmCharSetISO_8859_3
LmCharSetISO_8859_8
LmCharSetISO_8859_4
LmCharSetISO_8859_9
- UsrStr(IAS_ATTRIB_STR)
-
User string to associate with irdaAttribName.
- Reserved
-
This is used to DWORD-align the structure.
Remarks
If either the octet sequence specified in OctetSeqor the user string specified in UsrStris associated with irdaAttribName, it is necessary to allocate additional buffer space.
The Windows Embedded CE irdaClassNameand irdaAttribNamemembers have different maximum lengths than their Windows counterparts. The irdaAttribType, Len, and irdaAttribIntmembers also have different types.
The IAS_SETstructure does not contain the required buffer space for either the octet sequence attributes or user string sequence attributes. To ensure that the buffer is large enough to query all remote objects, the maximum required buffer is sizeof(IAS_SET)+ 1024, which is the maximum attribute value length for an octet sequence.
Requirements
Header | af_irda.h |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
IAS_QUERYConcepts
IrDA ReferenceIrDA Application Development