I'm trying to open the ::$EA stream of a file. Has anyone done this before? I'm not finding any samples anywhere.
What are the dwDesiredAccess needed to do this? Apparently FILE_EA_READ is not quite enough. I'm getting ACCESS_DENIED with:
HANDLE h = CreateFile(L"foobar.txt::$EA", FILE_READ_EA, 0, NULL, OPEN_EXISTING, 0, NULL);
DWORD err = GetLastError();
Or do I need some privilege activated with AdjustTokenPrivilege? I am obviously running under an Administrator account.