SysMemAllocΒΆ
This function of type DWORD is used to dynamically allocate memory space.
The return value is either the pointer on the allocated memory location or it is 0, in case there is not as much space available as requested. This return value always should be checked, even if just a small memory area is to be allocated.
Note
This function is not supported by CoDeSys SP RTE.
Variable | Data Type | Description |
---|---|---|
dwSize | DWORD | Number of bytes to be allocated. |