PDataManager.h 701 B

12345678910111213141516
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #pragma once
  6. #if PDATA_ENABLED
  7. class PDataManager
  8. {
  9. public:
  10. static void RegisterPdata(RUNTIME_FUNCTION* pdataStart, _In_ const ULONG_PTR functionStart, _In_ const ULONG_PTR functionEnd, _Out_ PVOID* pdataTable, ULONG entryCount = 1, ULONG maxEntryCount = 1);
  11. static void UnregisterPdata(RUNTIME_FUNCTION* pdata);
  12. };
  13. #endif