
typedef struct _SPropProblem {
ULONG ulIndex;
ULONG ulPropTag;
SCODE scode;
} SPropProblem;
Describes an error relating to an operation involving a property.
typedef struct _SPropProblemArray {
ULONG cProblem;
SPropProblem aProblem[MAPI_DIM];
} SPropProblemArray;
Contains an array of one or more SPropProblem structures.
typedef struct _SPropTagArray{
ULONG cValues;
ULONG aulPropTag[MAPI_DIM];
} SPropTagArray;
Contains an array of property tags.
typedef struct _SPropValue {
ULONG ulPropTag;
ULONG dwAlignPad;
union _PV Value;
} SPropValue;
Contains the property tag values.
| Property type | Value | Data type of Value | ||
| PT_I2 or PT_SHORT | i | short int | ||
| PT_I4 or PT_LONG (signed) | i | LONG | ||
| PT_R4 or PT_FLOAT | flt | FLOAT | ||
| PT_R8 or PT_DOUBLE | dbl | double | ||
| PT_BOOLEAN | b | unsigned short int | ||
| PT_CURRENCY | cur | CURRENCY | ||
| PT_APPTIME | at | double | ||
| PT_SYSTIME | ft | FILETIME | ||
| PT_STRING8 | lpszA | LPSTR | ||
| PT_BINARY | bin | BYTE [array] | ||
| PT_UNICODE | lpszW | LPWSTR | ||
| PT_CLSID | lpguid | LPGUID | ||
| PT_I8 or PT_LONGLONG | li | LARGE_INTEGER | ||
| PT_MV_I2 | MVi | SShortArray | ||
| PT_MV_LONG | MVI | SLongArray | ||
| PT_MV_R4 | MVflt | SRealArray | ||
| PT_MV_DOUBLE | MVdbl | SDoubleArray | ||
| PT_MV_CURRENCY | MVcur | SCurrencyArray | ||
| PT_MV_APPTIME | MVat | SAppTimeArray | ||
| PT_MV_SYSTIME | MVft | SDateTimeArray | ||
| PT_MV_BINARY | MVbin | SBinaryArray | ||
| PT_MV_STRING8 | MVszA | SLPSTRArray | ||
| PT_MV_UNICODE | MVszW | SLPSTRArray | ||
| PT_MV_CLSID | MVguid | SGuidArray | ||
| PT_MV_I8 | MVli | SLargeIntegerArray | ||
| PT_ERROR | err | SCODE | ||
| PT_NULL or PT_OBJECT | x | LONG |
typedef struct _SRestriction
{
ULONG rt;
union
{
SComparePropsRestriction resCompareProps;
SAndRestriction resAnd;
SOrRestriction resOr;
SNotRestriction resNot;
SContentRestriction resContent;
SPropertyRestriction resProperty;
SBitMaskRestriction resBitMask;
SSizeRestriction resSize;
SExistRestriction resExist;
SSubRestriction resSub;
SCommentRestriction resComment;
} res;
} SRestriction;
Describes a filter for limiting the view of a table to particular rows.
| RES_AND | SRestriction structure describes an AND restriction, which applies a bitwise AND operation to a restriction. |
| RES_BITMASK | SRestriction structure describes a bitmask restriction, which applies a bitmask to a property value. |
| RES_COMMENT | SRestriction structure describes a comment restriction, which associates a comment with a restriction. |
| RES_COMPAREPROPS | SRestriction structure describes a compare properties restriction, which compares two property values. |
| RES_CONTENT | SRestriction structure describes a content restriction, which searches a property value for specific content. |
| RES_EXIST | SRestriction structure describes an exist restriction, which determines if a property is supported. |
| RES_NOT | SRestriction structure describes a NOT restriction, which applies a logical NOT operation to a restriction. |
| RES_OR | SRestriction structure describes an OR restriction, which applies a logical OR operation to a restriction. |
| RES_PROPERTY | SRestriction structure describes a property restriction, which determines if a property value matches a particular value. |
| RES_SIZE | SRestriction structure describes a size restriction, which determines if a property value is a particular size. |
| RES_SUBRESTRICTION | SRestriction structure describes a subobject restriction, which applies a restriction to a message's attachments or recipients. |
| Restriction type | Structure |
| RES_AND | SAndRestriction |
| RES_BITMASK | SBitMaskRestriction |
| RES_COMMENT | SCommentRestriction |
| RES_COMPAREPROPS | SComparePropsRestriction |
| RES_CONTENT | SContentRestriction |
| RES_EXIST | SExistRestriction |
| RES_NOT | SNotRestriction |
| RES_OR | SOrRestriction |
| RES_PROPERTY | SPropertyRestriction |
| RES_SIZE | SSizeRestriction |
| RES_SUBRESTRICTION | SSubRestriction |
typedef struct _SRow {
ULONG ulAdrEntryPad;
ULONG cValues;
LPSPropValue lpProps;
} SRow, FAR *LPSRow;
Describes a row from a table containing selected properties for a specific object.
typedef struct _SRowSet {
ULONG cRows;
SRow aRow[MAPI_DIM];
} SRowSet;
Contains an array of SRow structures, each SRow structure describing a row from a table.
typedef struct _SSortOrder {
ULONG ulPropTag;
ULONG ulOrder;
} SSortOrder, FAR *LPSSortOrder;
Defines how to sort rows of a table, describing the column to use as the sort key and the direction of the sort.
| TABLE_SORT_ASCEND | The table should be sorted in ascending order. |
| TABLE_SORT_COMBINE | The sort operation should create a category that combines the property identified as the sort key column in the ulPropTag member with the sort key column specified in the previous SSortOrder structure. |
| TABLE_SORT_COMBINE can only be used when the SSortOrder structure is being used as an entry in an SSortOrderSet structure to specify multiple sort orders for a categorized sort. TABLE_SORT_COMBINE cannot be used in the first SSortOrder structure in an SSortOrderSet structure. | |
| TABLE_SORT_DESCEND | The table should be sorted in descending order. |
typedef struct _SSortOrderSet {
ULONG cSorts;
ULONG cCategories;
ULONG cExpanded;
SSortOrder aSort[MAPI_DIM];
} SSortOrderSet, FAR *LPSSortOrderSet;
Defines a collection of sort keys for a table to be used for standard or categorized sorting.
typedef struct _tagWAB_PARAM
{
ULONG cbSize;
HWND hwnd;
LPTSTR szFileName;
ULONG ulFlags;
} WAB_PARAM ;
Contains the input information to pass to WABOpen.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.