开发者

Privilege used by MoveFileEx()

When calling MoveFileEx() and using MOVEFILE_DELAY_UNTIL_REBOOT for dwFlags. During the actual moving of file what privilege do开发者_Python百科es it use?

Thanks Kazuo!


Th MSDN doesn't really say anything about this special situtation, but the hint "This value can be used only if the process is in the context of a user who belongs to the administrators group or the LocalSystem account." gives the only logic result that the Administrator privileges will be used to move the file (since the account that called this API might not be there).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜