core/win32/os.c
/* Writes size bytes starting at base from in_buf, this is safe
 * to call even if the memory at base is unreadable, returns true if the 
 * write succeeded.  See safe_read_ex() on using more performant TRY/EXCEPT. */
Writes size bytes starting at base from in_buf, this is safe
to call even if the memory at base is unreadable, returns true if the
write succeeded.  See safe_read_ex() on using more performant TRY/EXCEPT.
Writes size bytes starting at base from in_buf this is safe to call even if the memory at base is unreadable returns true if the write succeeded . See safe_read_ex () on using more performant TRY / EXCEPT .
bool
safe_write_ex(void *base, size_t size, const void *in_buf, size_t *bytes_written)
{
    if (bytes_written != NULL)
        *bytes_written = 0;
    STATS_INC(num_safe_writes);
    return nt_write_virtual_memory(NT_CURRENT_PROCESS, base, in_buf,
                                   size, bytes_written);
}
bool safe_write_ex ( void * base , size_t size , const void * in_buf , size_t * bytes_written ) { if ( bytes_written != NULL ) * bytes_written = 0 ; STATS_INC ( num_safe_writes ) ; return nt_write_virtual_memory ( NT_CURRENT_PROCESS , base , in_buf , size , bytes_written ) ; }
Writes size bytes starting at base from in_buf, this is safe
 to call even if the memory at base is unreadable, returns true if the
 write succeeded.
Writes size bytes starting at base from in_buf this is safe to call even if the memory at base is unreadable returns true if the write succeeded .