| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/ |
Upload File : |
#pragma once
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// CFunctionDiscoveryNotificationWrapper class.
//
// All OS components implementing IFunctionDiscoveryNotification should derive
// from this class rather then directly from IFunctionDiscoveryNotification
// so that a default implementation can be provided here in case of future
// breaking changes to the IFunctionDiscoveryNotification interface
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
interface IFunctionDiscoveryNotification; // forward declaration
#ifdef __cplusplus
class CFunctionDiscoveryNotificationWrapper : public IFunctionDiscoveryNotification
{
public:
virtual HRESULT STDMETHODCALLTYPE OnUpdate(
/* [in] */ QueryUpdateAction,
/* [in] */ FDQUERYCONTEXT,
/* [in] */ __RPC__in_opt IFunctionInstance*)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE OnError(
/* [in] */ HRESULT,
/* [in] */ FDQUERYCONTEXT,
/* [string][in] */ __RPC__in_string const WCHAR*)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE OnEvent(
/* [in] */ DWORD,
/* [in] */ FDQUERYCONTEXT,
/* [string][in] */ __RPC__in_string const WCHAR*)
{ return S_OK; }
};
#endif
// Internal Event ids
#define FD_EVENTID_PRIVATE 100
// Event ids
#define FD_EVENTID 1000
#define FD_EVENTID_SEARCHCOMPLETE FD_EVENTID
#define FD_EVENTID_ASYNCTHREADEXIT FD_EVENTID + 1
#define FD_EVENTID_SEARCHSTART FD_EVENTID + 2
#define FD_EVENTID_IPADDRESSCHANGE FD_EVENTID + 3
#define FD_EVENTID_QUERYREFRESH FD_EVENTID + 4
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion