The docs aren't clear on what the function should return in the case of an empty string.

What is unclear about:

"If the data has the REG_SZ, REG_MULTI_SZ or REG_EXPAND_SZ type, then lpcbData will also include the size of the terminating null character."

?


--
Mike Crowe
I may not be speaking on behalf of empeg above :-)
_________________________
--
Mike Crowe