DestroyPenData  

1.0     2.0     

Frees the memory associated with a specified pen data memory block.

BOOL DestroyPenData( HPENDATA hpndt )

Parameters

hpndt

Handle to a pen data memory block to destroy.

Return Value

Returns TRUE if the memory was successfully freed; otherwise, FALSE.

Comments

Once the memory block is destroyed, the HPENDATA handle is no longer valid. The application should set the handle to NULL.

See Also

CreatePenData, CreatePenDataEx