Class Facter::Util::Windows::FFI
In: lib/facter/util/windows/api_types.rb
Parent: Object

Methods

Constants

WIN32_FALSE = 0   standard Win32 error codes
ERROR_SUCCESS = 0
NULL_HANDLE = 0

Public Class methods

@param max_char_length [Integer] Maximum number of wide chars to return (typically excluding NULLs), not bytes @param null_terminator [Symbol] Number of number of null wchar characters, not bytes, that determine the end of the string

  null_terminator = :single_null, then the terminating sequence is two bytes of zero.   This is UNIT16 = 0
  null_terminator = :double_null, then the terminating sequence is four bytes of zero.  This is UNIT32 = 0

[Validate]