开发者

GetLogicalDriveStrings, why list of strings

Do I understand correctly that this function returns drive letters? If yes, then why does GetLogicalDriveStrings gives series of null-terminated strings and not s开发者_开发百科eries of chars?


Because it returns strings that can be used as input to functions like GetDriveType which require the input to be in the form "c:" not just 'c'.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜