paramiko._winapi

Package paramiko :: Module _winapi |
[frames] | no frames]

# Module _winapi

source code

Windows API functions implemented as ctypes functions and classes as found in jaraco.windows (2.10).

If you encounter issues with this module, please consider reporting the issues in jaraco.windows and asking the author to port the fixes back here.

Classes
| WindowsError more info about errors at http://msdn.microsoft.com/en-us/library/ms681381(VS.85).aspx
| MemoryMap A memory map object which can have security attributes overrideden.
| TokenInformationClass
| TOKEN_USER
| SECURITY_DESCRIPTOR typedef struct _SECURITY_DESCRIPTOR...
| SECURITY_ATTRIBUTES typedef struct _SECURITY_ATTRIBUTES {...
| TokenAccess

Functions
format_system_message(errno) Call FormatMessage with a system error number to retrieve the descriptive error message. | source code
handle_nonzero_success(result) | source code
GetTokenInformation(token, information_class) Given a token, get the token information for it. | source code
OpenProcessToken(proc_handle, access) | source code
get_current_user() Return a TOKEN_USER for the owner of this process. | source code
get_security_attributes_for_user(user=None) Return a SECURITY_ATTRIBUTES structure with the SID set to the specified user (uses current user if none is specified). | source code

Variables
| CreateFileMapping = `ctypes.windll.kernel32.CreateFileMappingW`
| MapViewOfFile = `ctypes.windll.kernel32.MapViewOfFile`