Sample Code

Windows Driver Samples/ SDV-FailDriver-KMDF/ C++/ library/ fail_library1.h/

/*++

Copyright (c) Microsoft Corporation.  All rights reserved.

Module Name:

    fail_library1.h

Environment:

    Kernel mode

--*/

#ifdef __cplusplus
extern "C" {
#endif
#include <NTDDK.h>  
#include <wdf.h>
#ifdef __cplusplus
}
#endif

#pragma warning(disable:28931)

VOID
SDVTest_wdf_DriverCreate();

VOID
SDVTest_wdf_DeviceInitAPI(
    _In_ PWDFDEVICE_INIT DeviceInit
    );

VOID
SDVTest_wdf_MdlAfterReqCompletionIoctl(
    _In_  WDFREQUEST  Request,
    _In_  PMDL        Mdl
    );

VOID
SDVTest_wdf_MemoryAfterReqCompletionIntIoctlAdd(
    _In_  WDFMEMORY   Memory
    );

VOID
SDVTest_wdf_MdlAfterReqCompletionIntIoctlAdd(
    _In_  PMDL        Mdl
    );

VOID
SDVTest_wdf_MarkCancOnCancReqDispatch(
    _In_  WDFREQUEST  Request
    );



EVT_WDF_REQUEST_CANCEL SDVTest_EvtRequestCancel;
/*VOID
SDVTest_EvtRequestCancel(
    _In_ WDFREQUEST  Request
    );*/

Our Services

  • What our customers say about us?

© 2011-2024 All Rights Reserved. Joya Systems. 4425 South Mopac Building II Suite 101 Austin, TX 78735 Tel: 800-DEV-KERNEL

Privacy Policy. Terms of use. Valid XHTML & CSS