module Net::SSH::Authentication::Pageant::Win

The definition of the Windows methods and data structures used in communicating with the pageant process.

Constants

COPYDATASTRUCT

The COPYDATASTRUCT is used to send WM_COPYDATA messages

FILE_MAP_WRITE
INVALID_HANDLE_VALUE

From winbase.h, winnt.h

NULL
PAGE_READWRITE
REVISION

The initial revision level assigned to the security descriptor.

SECURITY_ATTRIBUTES

Contains the security descriptor, this gets passed to the function that constructs the shared memory map.

SECURITY_DESCRIPTOR

The security descriptor holds security information.

SIZEOF_DWORD
SMTO_NORMAL
SUFFIX
TOKEN_QUERY

Constants needed for security attribute retrieval. Specifies the access mask corresponding to the desired access rights.

TOKEN_USER

Structs for security attribute functions. Holds the retrieved user access token.

TOKEN_USER_INFORMATION_CLASS

The value of TOKEN_USER from the TOKEN_INFORMATION_CLASS enum.

WM_COPYDATA

Public Class Methods

get_ptr(data) click to toggle source
# File lib/net/ssh/authentication/pageant.rb, line 204
def self.get_ptr(data)
  return data.to_ptr
end
malloc_ptr(size) click to toggle source
# File lib/net/ssh/authentication/pageant.rb, line 200
def self.malloc_ptr(size)
  return DL.malloc(size)
end
set_ptr_data(ptr, data) click to toggle source
# File lib/net/ssh/authentication/pageant.rb, line 208
def self.set_ptr_data(ptr, data)
  ptr[0] = data
end