/* ======================================== Copyright Amlal El Mahrouss 2025, licensed under the Apache 2.0 license. FILE: ddk.h PURPOSE: Driver Kernel Interface Model base header. ======================================== */ #pragma once #include #include #define DKI_CONTRACT_IMPL : public ::Kernel::DKIContract /// @author Amlal El Mahrouss namespace Kernel::DKI { class DKIContract { public: explicit DKIContract() = default; virtual ~DKIContract() = default; NE_COPY_DEFAULT(DKIContract); virtual BOOL IsCastable() { return false; } virtual BOOL IsActive() { return false; } virtual VoidPtr Leak() { return nullptr; } virtual Int32 Type() { return 0; } }; } // namespace Kernel::DKI