SetMask

The SetMask function tells the system which properties are present in an address card, enabling the system to save the property in the object store. Before calling the AddAddressCard or ModifyAddressCard function, an application must call SetMask once for each property in the new or modified address card.

Syntax

void SetMask(AddressCard *pac, HHPRTAG hhProp);

At a Glance

Header file: Addrstor.h
Platforms: H/PC
Windows CE versions: 1.0 and later

Parameters

pac
Pointer to an AddressCard structure that contains information about an address card.
hhProp
Property tag of a property in the address card. For a list of these tags, see Contacts Database. Property tags begin with the HHPR_ prefix. If this parameter is zero, SetMask marks all properties as present.

Remarks

For more information, see Contacts Database.

See Also

AddAddressCard, AddressCard, ModifyAddressCard