The FillMemory function fills a block of memory with a specified value. VOID FillMemory (    PVOID Destination, // pointer to block to fill 
    DWORD Length, // size, in bytes, of block to fill 
    BYTE Fill  // the byte value with which to fill  
   );
 ParametersDestinationPoints to the starting address of the block of memory to fill. LengthSpecifies the size, in bytes, of the block of memory to fill. FillSpecifies the byte value with which to fill the memory block.  Return ValuesThis function has no return value. See AlsoCopyMemory, MoveMemory, ZeroMemory 

解决方案 »

  1.   

    The ZeroMemory function fills a block of memory with zeros.  VOID ZeroMemory(    PVOID Destination,  // address of block to fill with zeros 
        DWORD Length  // size, in bytes, of block to fill with zeros  
       );
     ParametersDestinationPoints to the starting address of the block of memory to fill with zeros. LengthSpecifies the size, in bytes, of the block of memory to fill with zeros.  Return ValuesThis function has no return value. See AlsoCopyMemory, FillMemory, MoveMemory