pub fn can_create_permanent_shared_objects() -> Result<bool>
Expand description

Returns whether the current process has the SeCreatePermanentPrivilege privilege

This privilege is necessary for creating states with the StateLifetime::Permanent or StateLifetime::Persistent lifetime or with the DataScope::Process scope.

Errors

Returns an error if checking the privilege fails