- May
- 13,817
- 211
@SMOPEN with "Global\" apparently only works in an elevated TCC. I Googled a few statements to the effect that this is expected behavior.
Once an elevated TCC opens (creates) Global shared memory, a non-elevated TCC cannot open it at all. Brief tests suggest that a non-elevated process can open it with OpenFileMapping(), but only for FILE_MAP_READ and that CreateFileMap() will fail to open it regardless of the flProtect flags.
Once an elevated TCC opens (creates) Global shared memory, a non-elevated TCC cannot open it at all. Brief tests suggest that a non-elevated process can open it with OpenFileMapping(), but only for FILE_MAP_READ and that CreateFileMap() will fail to open it regardless of the flProtect flags.