Platform SDK: Fax Services |
A FaxRouteEnumFile callback function is a placeholder for a function name defined by the fax routing extension DLL.
FaxRouteEnumFile receives the file names in the fax file list associated with a received fax document. This function supplies the file names that result from a call by a fax routing method to the FaxRouteEnumFiles callback function. The fax service calls FaxRouteEnumFile once for each file in the fax file list.
BOOL WINAPI FaxRouteEnumFile( DWORD JobId, // fax job identifier GUID *GuidOwner, // pointer to GUID of the routing method // that added file GUID *GuidCaller, // pointer to GUID of calling routing method LPCWSTR FileName, // pointer to a file name in the fax file list PVOID Context // pointer to an extension-defined value );
The function returns a nonzero value to continue enumeration, or zero to stop enumeration.
The fax routing extension DLL must register the FaxRouteEnumFile callback function by passing its address to the FaxRouteEnumFiles callback function. The PFAXROUTEENUMFILE data type is a pointer to a FaxRouteEnumFile function.
For more information, see Fax File Lists.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in faxroute.h.
Import Library: User-defined.
Fax Routing Extension Application Programming Interface Overview, Fax Routing Extension Functions, FaxRouteEnumFiles