PNRP_RESOLVE_CRITERIA (Windows CE 5.0)
This enumeration specifies the criteria that PNRP uses to resolve searches.
typedef enum { PNRP_RESOLVE_CRITERIA_DEFAULT, PNRP_RESOLVE_CRITERIA_ANY_PEER_NAME, PNRP_RESOLVE_CRITERIA_NEAREST_NON_CURRENT_PROCESS_PEER_NAME, PNRP_RESOLVE_CRITERIA_NEAREST_PEER_NAME, PNRP_RESOLVE_CRITERIA_NEAREST_REMOTE_PEER_NAME, PNRP_RESOLVE_CRITERIA_NON_CURRENT_PROCESS_PEER_NAME, PNRP_RESOLVE_CRITERIA_REMOTE_PEER_NAME} PNRP_RESOLVE_CRITERIA;
Return Values
- PNRP_RESOLVE_CRITERIA_DEFAULT
Use the PNRP_RESOLVE_CRITERIA_NON_CURRENT_PROCESS_PEER_NAME criteria. This is also the default behavior if PNRPINFO is not specified. - PNRP_RESOLVE_CRITERIA_ANY_PEER_NAME
Match a peer name. The matching peer name can be registered locally or remotely. - PNRP_RESOLVE_CRITERIA_NEAREST_NON_CURRENT_PROCESS_PEER_NAME
Match a peer name by finding the name with a service location closest to the supplied hint, or if no hint is supplied, closest to the local IP address. The matching peer name can be registered locally or remotely, but the resolve request excludes any peer name registered by the process that is making the resolve request. - PNRP_RESOLVE_CRITERIA_NEAREST_PEER_NAME
Match a peer name by finding the name with a service location closest to the supplied hint, or if no hint is supplied, closest to the local IP address. The matching peer name can be registered locally or remotely. - PNRP_RESOLVE_CRITERIA_NEAREST_REMOTE_PEER_NAME
Match a peer name by finding the name with a service location closest to the supplied hint, or if no hint is supplied, closest to the local IP address. The resolve request excludes any peer name registered locally on this computer. - PNRP_RESOLVE_CRITERIA_NON_CURRENT_PROCESS_PEER_NAME
Match a peer name. The matching peer name can be registered locally or remotely, but the resolve request excludes any peer name registered by the process that is making the resolve request. - PNRP_RESOLVE_CRITERIA_REMOTE_PEER_NAME
Match a peer name. The resolve request excludes any peer name registered locally on this computer.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: pnrpdef.h.
Link Library: p2p.lib.
See Also
Send Feedback on this topic to the authors