Class | Chef::ReservedNames::Win32::Memory |
In: |
lib/chef/win32/memory.rb
|
Parent: | Object |
local_alloc(length[, flags]) [BLOCK] Allocates memory using LocalAlloc If BLOCK is specified, the memory will be passed to the block and freed afterwards.
local_discard(pointer) Discard memory. Equivalent to local_realloc(pointer, 0)
local_flags(pointer) Get lock count and Windows flags for local_alloc allocated memory. Use: flags, lock_count = local_flags(pointer)
local_realloc(pointer, size[, flags]) Resizes memory allocated using LocalAlloc.