summaryrefslogtreecommitdiffstats
path: root/private/oleutest/balls/idl/unknwn.idl
blob: bacfecd0c3470afab382fd524a73ef07a64d3e1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//+-------------------------------------------------------------------------
//
//  Microsoft Windows
//  Copyright (C) Microsoft Corporation, 1992 - 1993.
//
//  File: unknwn.idl
//
//  Contents: IUnknown interface definition
//
//  History:    06-08-93 ShannonC    Updated to OLE 2 release
//
//--------------------------------------------------------------------------
[
  local,
  object,
  uuid(00000000-0000-0000-C000-000000000046),
  pointer_default(unique)
]

interface IUnknown
{
    import "wtypes.idl";

    typedef [unique] IUnknown *LPUNKNOWN;

    HRESULT QueryInterface(
	[in] REFIID riid,
	[out] void **ppvObject);

    ULONG AddRef();

    ULONG Release();
}