ReactOS  0.4.15-dev-5097-g328cc41
adapter.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Copyright (c) 1998-1999 Microsoft Corporation. All Rights Reserved.
3 **
4 ** Portions Copyright (c) 1998-1999 Intel Corporation
5 **
6 ********************************************************************************/
7 
8 /* The file adapter.h was reviewed by LCA in June 2011 and is acceptable for use by Microsoft. */
9 
10 #ifndef _ADAPTER_H_
11 #define _ADAPTER_H_
12 
13 #include "shared.h"
14 
15 /*****************************************************************************
16  * Defines
17  *****************************************************************************
18  */
19 const ULONG MAX_MINIPORTS = 2;
20 
21 /*****************************************************************************
22  * Functions
23  *****************************************************************************
24  */
25 //
26 // both wave & topology miniport create function prototypes have this form:
27 //
30  IN REFCLSID ClassId,
31  IN PUNKNOWN OuterUnknown OPTIONAL,
33 );
34 
35 /*****************************************************************************
36  * Externals
37  *****************************************************************************
38  */
40 (
42  IN REFCLSID,
43  IN PUNKNOWN UnknownOuter OPTIONAL,
45 );
46 
48 (
50  IN REFCLSID,
51  IN PUNKNOWN UnknownOuter OPTIONAL,
53 );
54 
56 (
58  IN REFCLSID,
59  IN PUNKNOWN UnknownOuter OPTIONAL,
61 );
62 
64 (
66  IN REFCLSID,
67  IN PUNKNOWN UnknownOuter OPTIONAL,
69 );
70 
71 #endif //_ADAPTER_H_
#define HRESULT
Definition: msvc.h:7
#define IN
Definition: typedefs.h:39
#define REFCLSID
Definition: guiddef.h:117
LONG NTSTATUS
Definition: precomp.h:26
HRESULT(* PFNCREATEMINIPORT)(OUT PUNKNOWN *Unknown, IN REFCLSID ClassId, IN PUNKNOWN OuterUnknown OPTIONAL, IN POOL_TYPE PoolType)
Definition: adapter.h:28
const ULONG MAX_MINIPORTS
Definition: adapter.h:19
NTSTATUS CreateAC97MiniportWaveRT(OUT PUNKNOWN *Unknown, IN REFCLSID, IN PUNKNOWN UnknownOuter OPTIONAL, IN POOL_TYPE PoolType)
INT POOL_TYPE
Definition: typedefs.h:78
NTSTATUS CreateAC97MiniportTopology(OUT PUNKNOWN *Unknown, IN REFCLSID, IN PUNKNOWN UnknownOuter OPTIONAL, IN POOL_TYPE PoolType)
NTSTATUS CreateAC97MiniportWaveCyclic(OUT PUNKNOWN *Unknown, IN REFCLSID, IN PUNKNOWN UnknownOuter OPTIONAL, IN POOL_TYPE PoolType)
#define OPTIONAL
Definition: typedefs.h:41
NTSTATUS CreateAC97MiniportWavePCI(OUT PUNKNOWN *Unknown, IN REFCLSID, IN PUNKNOWN UnknownOuter OPTIONAL, IN POOL_TYPE PoolType)
#define OUT
Definition: typedefs.h:40
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
Definition: wdfdevice.h:3810
unsigned int ULONG
Definition: retypes.h:1
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68