Platform SDK: Fax Services

FaxFreeBuffer

The FaxFreeBuffer function releases resources associated with a buffer allocated previously as the result of a function call by a fax client application. This includes calls to the FaxCompleteJobParams function and to functions that begin with FaxEnum or FaxGet.

VOID WINAPI FaxFreeBuffer(
  LPVOID Buffer  // pointer to buffer to free
);

Parameters

Buffer
[in] Pointer to a buffer allocated on a previous call to one of the functions named in the following See Also section.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

When the resources allocated for a buffer are no longer needed, the calling application must free the resources. For more information, see Freeing Fax Resources.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable with BackOffice Small Business Server.
  Header: Declared in Winfax.h.
  Library: Included as a resource in Winfax.dll.
  Unicode: Implemented as Unicode and ANSI versions on all platforms.

See Also

Fax Service Client Application Programming Interface Overview, Fax Service Client API Functions, FaxEnumGlobalRoutingInfo, FaxEnumJobs, FaxEnumPorts, FaxEnumRoutingMethods, FaxGetConfiguration, FaxGetDeviceStatus, FaxGetJob, FaxGetLoggingCategories, FaxGetPageData, FaxGetPort, FaxGetRoutingInfo, FaxCompleteJobParams