###User Defined Function###
_WinAPI_WriteProcessMemory

###Description###
Writes memory in a specified process

###Syntax###
#include <WinAPI.au3>
_WinAPI_WriteProcessMemory ( $hProcess, $pBaseAddress, $pBuffer, $iSize, ByRef $iWritten [, $sBuffer = "ptr"] )


###Parameters###
@@ParamTable@@
$hProcess
	Identifies an open handle to a process whose memory is to be written to
$pBaseAddress
	Points to the base address in the specified process to be written to
$pBuffer
	Points to the buffer that supplies data to be written into the address space
$iSize
	Specifies the number of bytes to write into the specified process
$iWritten
	The actual number of bytes transferred into the specified process
$sBuffer
	[optional] Contains the data type that $pBuffer represents
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	True
Failure:	False, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information
@@End@@


###Remarks###
None.


###Related###
_WinAPI_ReadProcessMemory


###See Also###
@@MsdnLink@@ WriteProcessMemory
