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 sendWM_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
Source
# File lib/net/ssh/authentication/pageant.rb, line 202 def self.get_ptr(data) return data.to_ptr end
Source
# File lib/net/ssh/authentication/pageant.rb, line 198 def self.malloc_ptr(size) return DL.malloc(size) end
Source
# File lib/net/ssh/authentication/pageant.rb, line 206 def self.set_ptr_data(ptr, data) ptr[0] = data end