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.
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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.