How to expand REG_EXPAND_SZ in Windows Mobile?
I saw ExpandEnvironmentStrings
i开发者_如何学编程s used here for Desktop. How do I do it in Windows Mobile? The data type looks valid in Windows Mobile
It is interesting that the documentation says REG_EXPAND_SZ is available for Windows CE because it doesn't make any sense. Windows CE (and therefore windows mobile) doesn't have environment variables, so there is no process environment to expand the values from, which is probably why ExpandEnvironmentStrings doesn't exist. The data type is probably valid just because the registry doesn't care very much about data types - apart from some light checking the registry just stores blobs of bytes and the type is not important to it.
精彩评论