HPlogo HP Xlib Extensions: > Chapter 6 HP Input Device Extension Functions

Freeing the DeviceList

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

To free an XHPDeviceList array created by XHPListInputDevices, use XHPFreeDeviceList.

void XHPFreeDeviceList(list)
XHPDeviceList *list;

Title not available (Freeing the DeviceList )

list

Specifies the XHPDeviceList to free.

When XHPListInputDevices is called, it allocates memory in which to place the XHPDeviceList array. To free this allocated memory, call XHPFreeDeviceList with the XHPDeviceList list pointer as an argument.

© 1995 Hewlett-Packard Development Company, L.P.