Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.03 KB

File metadata and controls

49 lines (34 loc) · 1.03 KB

Home

Function name : ZeroMemory

Group: Memory Management - Library: kernel32


Fills a block of memory with zeros.


Code examples:

How to print a bitmap file
Vertical Label control
How to convert a bitmap file to monochrome format (1 bpp)

Declaration:

VOID ZeroMemory(
  PVOID Destination,  // memory block
  SIZE_T Length       // size of memory block
);  

FoxPro declaration:

DECLARE RtlZeroMemory IN kernel32 As ZeroMemory;
	INTEGER dest,;
	INTEGER numBytes
  

Parameters:

Destination [in] Pointer to the starting address of the block of memory to fill with zeros.

Length [in] Size, in bytes, of the block of memory to fill with zeros.


Return value:

This function has no return value.