diff options
Diffstat (limited to 'lib/chef/win32/api.rb')
-rw-r--r-- | lib/chef/win32/api.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/chef/win32/api.rb b/lib/chef/win32/api.rb index e7cd3b5bd0..3e4811e12d 100644 --- a/lib/chef/win32/api.rb +++ b/lib/chef/win32/api.rb @@ -24,7 +24,6 @@ require "chef/exceptions" class Chef module ReservedNames::Win32 module API - # Attempts to use FFI's attach_function method to link a native Win32 # function into the calling module. If this fails a dummy method is # defined which when called, raises a helpful exception to the end-user. @@ -239,11 +238,10 @@ class Chef # In WinNT.h: host.typedef wchar_t WCHAR; #WINAPI: K, # Calling convention for system functions. WinDef.h: define WINAPI __stdcall host.typedef :ushort, :WORD # 16-bit unsigned integer. The range is 0 through 65535 decimal. - host.typedef :uint, :WPARAM # Message parameter. WinDef.h as follows: host.typedef UINT_PTR WPARAM; + host.typedef :uint, :WPARAM # Message parameter. WinDef.h as follows: host.typedef UINT_PTR WPARAM; end module Macros - ############################################### # winbase.h ############################################### @@ -368,7 +366,6 @@ class Chef def wtime_to_time(wtime) Time.at((wtime - WIN32_EPOC_MINUS_POSIX_EPOC) / 10000000) end - end end end |