    # File lib/chef/win32/security.rb, line 372
          def self.open_process_token(process, desired_access)
            process = process.handle if process.respond_to?(:handle)
            process = process.handle if process.respond_to?(:handle)
            token = FFI::Buffer.new(:ulong)
            unless OpenProcessToken(process, desired_access, token)
              Chef::ReservedNames::Win32::Error.raise!
            end
            Token.new(Handle.new(token.read_ulong))
          end