KeePass   KeePass Help Center Home KeePass Home | Package Downloads | Flag Translations | Blocks Plugins | Donate Donate  
Home Help Center Home | People Forums | Award Awards | Link Links  







IKpUnknown.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2008-2018 Dominik Reichl
3  All rights reserved.
4 
5  Redistribution and use in source and binary forms, with or without
6  modification, are permitted provided that the following conditions
7  are met:
8 
9  * Redistributions of source code must retain the above copyright
10  notice, this list of conditions and the following disclaimer.
11  * Redistributions in binary form must reproduce the above copyright
12  notice, this list of conditions and the following disclaimer in
13  the documentation and/or other materials provided with the
14  distribution.
15 
16  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
19  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
20  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
26  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27  POSSIBILITY OF SUCH DAMAGE.
28 */
29 
30 #ifndef ___IKPUNKNOWN_H___
31 #define ___IKPUNKNOWN_H___
32 
33 #pragma once
34 
35 #include "../../SysDefEx.h"
36 #include <objbase.h>
37 
38 #pragma pack(1)
39 
41 struct KP_DECL_INTERFACE("011653D1-D7BC-429C-8632-BAA212F2BBC5") IKpUnknown
42 {
43 public:
44  // *** IKpUnknown methods ***
45 
48  STDMETHOD(QueryInterface)(REFIID riid, void** ppvObject) = 0;
49 
52  STDMETHOD_(ULONG, AddRef)() = 0;
53 
59  STDMETHOD_(ULONG, Release)() = 0;
60 };
61 
62 #pragma pack()
63 
64 #endif // ___IKPUNKNOWN_H___
Base interface from which all other interfaces must derive.
Definition: IKpUnknown.h:41



Documentation generated with Doxygen.




Valid XHTML 1.0 Transitional Document

Get KeePass


Copyright © 2003-2018 Dominik Reichl, [Legal Contact / Imprint] [Terms & Privacy] [Acknowledgements] [Donate]