//---------------------------------------------------------------------------------------------------------------------- /// \file /// API and data types for recieving notifications // Copyright (c) Microsoft Corporation. All Rights Reserved. //---------------------------------------------------------------------------------------------------------------------- #pragma once #if defined(_WIN32) #include "TE.Common.h" #include "WexTypes.h" namespace WEX { namespace TestExecution { /// /// Notification registration class /// class TECOMMON_API TestNotification { public: /// /// Register a call back function of LPHANDLER_FUNCTION_EX type to receive notifications from TAEF /// static HRESULT __stdcall RegisterHandler(LPHANDLER_FUNCTION_EX pfnHandler); /// /// Unregister the registered call back function /// static void __stdcall UnregisterHandler(); }; }/* namespace TestExecution */}/* namespace WEX */ #endif // #if defined(_WIN32)