Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::memory::MemSet Function
C++
MEM_PROC void MEM_API MemSet(POINTER p, PTRSZVAL n, size_t sz);
Parameters 
Description 
POINTER p 
pointer to memory to set 
PTRSZVAL n 
32 bit value to set memory with 
size_t sz 
length to set 

Sets a 32 bit value into memory. If the length to set is not a whole number of 32 bit words, the last bytes may contain the low 16 bits of the value and the low 8 bits.

Writes as many 32 it values as will fit in sz. 

If (sz & 2), the low 16 bits of n are written at the end. 

then if ( sz & 1 ) the low 8 bits of n are written at the end.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!