Modify ↓
Opened 5 years ago
Closed 5 years ago
#3813 closed Feature Request (Completed)
_MemGlobalRealloc
| Reported by: | Owned by: | J-Paul Mesnage | |
|---|---|---|---|
| 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 by , 5 years ago
| Version: | 3.3.14.0 |
|---|
comment:2 by , 5 years ago
| Milestone: | → 3.3.15.4 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | new → closed |
Added by revision [12508] in version: 3.3.15.4
Note:
See TracTickets
for help on using tickets.

Automatic ticket cleanup.