Container Properties

The SmsEnumContainers function enables your application to get information about the container types. SmsEnumContainers retrieves information about all container types supported by the SMS API. The properties for each container type are stored in a FOLDER_INFO structure.

By accessing the members of the FOLDER_INFO structure, your application can get the following information about the container type:

tObjectity
Specifies the type of object: T_CONTAINER or T_FOLDER. See BASETYPE.

Because the FOLDER_INFO structure is used to describe both containers and folders, this member indicates which of these types is being described.

pszTag
Points to the string form of the container's tag.
dwTag
Specifies the integer form of the container's tag.
ctFolders
Specifies the number of immediate folder types that the specified container contains. Note that ctFolders specifies the types of folders that the specified container is capable of containing—not the number of actual folders contained within a specific container.
pFolderTags
Points to an array of DWORD values that indicate the types of immediate folders supported by the container.
ctFilters
Specifies the number of filter types that the container supports.
pFilterTags
Points to an array of DWORD values that indicate the types of filters supported by the container.

You can also use the SmsDescribeFolder function to retrieve information about an individual container.