![]() ![]() The User might be a separate info, which can also be an Admin. That bit is not present, if no optional structure about such options is present, also the only bit related to RunAs is a RunAsUser flag, not RunAsAdmin. So when you suggest something like that, do you have any reference about the lnk file structure? The offset may still vary depending on the whole file having varying length structures, eg for the file names You can find out that bit by having any link without the runas admin bit set and then change it, compare the two versions and identify bits changed. ![]() At least you can hope MS will keep that working downward compatible in any future versions, though one thing is for sure, if specs change all old. Even if you know which bit, I'd always prefer an official API function to set it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |