Allocates or reallocates memory for the a C style string and writes a pointer to this string at the specified address.
Parameters
- nAddress
The indirect memory address to which the data should be written.
- cValue
The string to write or NULL if a null pointer should be written.
Return Value
A pointer to the allocated C string or 0 if a NULL was written.
Remarks
The pointer returned by this function has to be freed with FreeHGlobal, otherwise you produce a memory leak.
See Also
Reference
ReadBytes
ReadChar
ReadCharArray
ReadCString
ReadDouble
ReadFloat
ReadInt
ReadInt64
ReadInt8
ReadLogical
ReadPChar
ReadPCString
ReadPDouble
ReadPFloat
ReadPInt
ReadPInt64
ReadPInt8
ReadPLogical
ReadPointer
ReadPPointer
ReadProcessMemoryEx
ReadPShort
ReadPUInt
ReadPUInt64
ReadPUInt8
ReadPUShort
ReadPWString
ReadShort
ReadUInt
ReadUInt64
ReadUInt8
ReadUShort
ReadWCharArray
ReadWString
WriteBytes
WriteChar
WriteCharArray
WriteCString
WriteDouble
WriteFloat
WriteInt
WriteInt64
WriteInt8
WriteLogical
WritePChar
WritePCString
WritePDouble
WritePFloat
WritePInt
WritePInt64
WritePInt8
WritePLogical
WritePointer
WritePPointer
WritePShort
WritePUInt
WritePUInt64
WritePUInt8
WritePUShort
WritePWChar
WritePWString
WriteShort
WriteUInt
WriteUInt64
WriteUInt8
WriteUShort
WriteWChar
WriteWCharArray
WriteWString