>Exactly, so it is correct. When you pass null for the buffer the return value is the count array value that will be need for the buffer. All you need is multiply it with how many byte per each array buffer (depends on DC_xxx value). Anyway, you can hardcoded the way you did, just make sure not to make it too small :-)
>
The array buffer is what I'm trying to determine. I know it's 1024 for DC_BINS. I also know it's 16384 for DC_BINNAMES. I know this because someone else told me. But how do I know what it is for anything else, like DC_PAPERNAMES?