diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-7CFE584D-B605-5A3E-9294-84A28003000B.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-7CFE584D-B605-5A3E-9294-84A28003000B.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,17 @@ + + + + + +Implementing a Filter

A Filter authenticates incoming requests. It is an ECOM plug-in loaded by the PTP-IP Controller process. This section describes how to implement a Filter.

Procedure
  1. implement the MPTPIPHostFilter::Accept() function.

    The filter examines the parameters such as Host GUID and Host Friendly Name from PTP-IP Controller process to filter the requests.

    void Accept ( + const TDesC& aHostFriendlyName, + TDesC8& aHostGUID, + TRequestStatus& aStatus);

    You must include the ptpipfilterapi.lib and cptpiphostfilter.h files.

    Note: A filter can also be used to invoke a dialog box to accept or reject an incoming request.

MTP over + PTP-IP Overview Using PTP-IP + Controller Implementing a Listener
\ No newline at end of file