summaryrefslogtreecommitdiffstats
path: root/private/types2/oleext/version.idl
blob: 04c20dd889eb316246677c178b85a95ab4cf941d (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//+-------------------------------------------------------------------------
//
//  Microsoft Windows
//  Copyright (C) Microsoft Corporation, 1992 - 1993.
//
//  File:       version.idl
//
//  Contents:   OLE versioning definintions.
//
//  History:    09-Jan-95   DaveStr     Created
//
//--------------------------------------------------------------------------

#include "idlmulti.h"

[
    uuid(6291f800-2bfb-11ce-bb80-08002b36b2b0),
    pointer_default(unique)
]

interface Versioning
{

#pragma pack(4) // for midl & C interop

    typedef GUID VERID;
    
    typedef struct tagVERIDARRAY {
        DWORD                  cVerid;
        [size_is(cVerid)] GUID verid[];
    } VERIDARRAY;
    
    typedef struct tagVERBLOCK {
        ULONG                       iveridFirst;
        ULONG                       iveridMax;  
        ULONG                       cblockPrev;
        [size_is(cblockPrev)] ULONG *rgiblockPrev;
    } VERBLOCK;
    
    typedef struct tagVERCONNECTIONINFO {
        DWORD                      cBlock;
        [size_is(cBlock)] VERBLOCK *rgblock;
    } VERCONNECTIONINFO;
    
    typedef struct tagVERGRAPH{
        VERCONNECTIONINFO   blocks;
        VERIDARRAY          nodes;
    } VERGRAPH;
    
#pragma pack()
}