Geoff Chappell - Software Analyst
This function retrieves the size of a DPA.
ULONGLONG DPA_GetSize (HDPA pdpa);
The pdpa argument provides a handle to the DPA.
If successful, the function returns the total amount of memory currently allocated for the DPA, in bytes. The function returns zero for failure.
If pdpa is NULL, the function fails. Otherwise, the function returns the size of the DPA structure plus the amount of memory needed for the number of pointers recorded in the cpCapacity member.
The DPA_GetSize function is exported by name from COMCTL32.DLL in version 6.10 and higher. The implementation is built into a statically linked library and thence is also exported from the Internet Explorer module IERTUTIL.DLL as ordinal 83 in version 7.0 and higher.