CSetW

Initializes an area of memory to a value.

Thread Context:Non-Blocking
Requirements: The storage locations in the memory area must be on LONG boundaries.

Syntax

    void CSetW (
       WORD   value, 
       void  *address,
       LONG   count
    );
    
    

Parameters

value
(IN) Value to which the memory area is being set.
address
(IN) The starting address of the memory area.
count
(IN) Number of WORDs in the memory area to be initialized to value.

Remarks

CSetW initializes the number of WORDs specified in count of the memory area pointed at by address to the value specified in value.