Modify ↓
      
        Opened 5 years ago
Closed 5 years ago
#3813 closed Feature Request (Completed)
_MemGlobalRealloc
| Reported by: | matwachich@… | Owned by: | Jpm | 
|---|---|---|---|
| Milestone: | 3.3.15.4 | Component: | Standard UDFs | 
| Version: | Severity: | None | |
| Keywords: | Cc: | 
Description
Everything is in the title: It seems that this functions is laking from the Memory standard UDF.
Here is an implementation:
Func _MemGlobalRealloc($hMemory, $iBytes, $iFlags = 0)
	Local $aResult = DllCall("kernel32.dll", "handle", "GlobalReAlloc", "handle", $hMemory, "uint_ptr", $iBytes, "uint", $iFlags)
	If @error Then Return SetError(@error, @extended, 0)
	Return $aResult[0]
EndFunc
    Attachments (0)
Change History (2)
comment:1 Changed 5 years ago by TicketCleanup
- Version 3.3.14.0 deleted
 
comment:2 Changed 5 years ago by Jpm
- Milestone set to 3.3.15.4
 - Owner set to Jpm
 - Resolution set to Completed
 - Status changed from new to closed
 
Added by revision [12508] in version: 3.3.15.4
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
 - In-depth discussions should take place on the forum.
 
For more information see the full version of the ticket guidelines here.
Note: See
        TracTickets for help on using
        tickets.
    
Automatic ticket cleanup.