3.1.4.1.16 FAX_EndMessagesEnum (Opnum 64)

The FAX_EndMessagesEnum (Opnum 64) method is called by the client.

On success, the server MUST halt the enumerating of messages in the specified archives.

 error_status_t FAX_EndMessagesEnum(
   [in, out, ref] PRPC_FAX_MSG_ENUM_HANDLE lpHandle
 );

lpHandle: The parameter lpHandle MUST have been returned by FAX_StartMessagesEnum (section 3.1.4.1.98).

Return Values: This method MUST return 0x00000000 (ERROR_SUCCESS) for success; otherwise, it MUST return one of the following error codes, one of the fax-specific errors that are defined in section 2.2.52, or one of the other standard errors defined in [MS-ERREF] section 2.2.

Return value/code

Description

ERROR_INVALID_HANDLE

0x00000006

This error code SHOULD be returned if the handle pointed to by the specified lpHandle parameter is not a valid handle returned by FAX_StartMessagesEnum.<79>

ERROR_INVALID_PARAMETER

0x00000057

This error SHOULD be returned if the handle pointed to by the specified lpHandle is NULL.<80>

Exceptions Thrown: No exceptions are thrown except those that are thrown by the underlying RPC protocol, [MS-RPCE].