Win32 API Functions. Uses Win32API to bind methods to constants contained in class.

Constants
AcquireCredentialsHandle = Win32API.new("secur32", "AcquireCredentialsHandle", 'ppLpppppp', 'L')
 

Can be called with AcquireCredentialsHandle.call()

InitializeSecurityContext = Win32API.new("secur32", "InitializeSecurityContext", 'pppLLLpLpppp', 'L')
 

Can be called with InitializeSecurityContext.call()

DeleteSecurityContext = Win32API.new("secur32", "DeleteSecurityContext", 'P', 'L')
 

Can be called with DeleteSecurityContext.call()

FreeCredentialsHandle = Win32API.new("secur32", "FreeCredentialsHandle", 'P', 'L')
 

Can be called with FreeCredentialsHandle.call()