Hi all
I need to intercept some events on a LAN, so I've decide to use FindFirstChangeNotification API but...
to receive multiple notify requests across the network, the user who runs the program must have the "backup file and directories" user right, then the program must set the privilege using the AdjustTokenPrivileges call. This is because the FindFirstChangeNotification API sets the FILE_OPEN_FOR_BACKUP_INTENT in its create packet.
So I've search about this right on MSDN lib.
but without success.
Somebody knows it?
Thanks anyway
I need to intercept some events on a LAN, so I've decide to use FindFirstChangeNotification API but...
to receive multiple notify requests across the network, the user who runs the program must have the "backup file and directories" user right, then the program must set the privilege using the AdjustTokenPrivileges call. This is because the FindFirstChangeNotification API sets the FILE_OPEN_FOR_BACKUP_INTENT in its create packet.
So I've search about this right on MSDN lib.
but without success.
Somebody knows it?
Thanks anyway