1 /*++
2 
3 Copyright (c) Microsoft Corporation
4 
5 Module Name:
6 
7     FxFrameworkStubUm.h
8 
9 Abstract:
10 
11     This is the internal flat-api stub version.
12 
13 --*/
14 
15 // generic loader defines.
16 #include <fxldrum.h>
17 
18 #pragma once
19 
20 #ifdef __cplusplus
21 extern "C"{
22 #endif
23 
24 //------------------------------------------------------------------------
25 // UMDF Loader interface for Flat-c framework stub.
26 //------------------------------------------------------------------------
27 struct IWudfHost;
28 struct IUMDFPlatform;
29 
30 typedef
31 __checkReturn
32 NTSTATUS
33 (*PFN_WUDF_REGISTER_LIBRARY) (
34     __in PVOID Context,
35     __in PWDF_LIBRARY_INFO LibraryInfo
36     );
37 
38 typedef struct _WUDF_LOADER_FX_INTERFACE {
39     ULONG                       Size;
40     PFN_WUDF_REGISTER_LIBRARY   RegisterLibrary;
41     IWudfHost *                 pIWudfHost;
42     IUMDFPlatform *             pUMDFPlatform;
43 } WUDF_LOADER_FX_INTERFACE, *PWUDF_LOADER_FX_INTERFACE;
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49