Annotation of mstools/samples/rpc/data/dunion/dunion.idl, revision 1.1.1.3

1.1.1.2   root        1: [ uuid (87E5BFA0-CA46-1067-B31B-00DD010662DA),
1.1       root        2:   version(1.0),
1.1.1.3 ! root        3:   pointer_default(unique)
        !             4: ]
1.1       root        5: interface dunion
                      6: {
1.1.1.3 ! root        7: 
1.1       root        8: typedef [switch_type(short)] union {
1.1.1.3 ! root        9:     [case(0)] short          sVal;
        !            10:     [case(1)] float          fVal;
        !            11:     [case(2)] unsigned char  chVal;
        !            12:     [default] ;
1.1       root       13: } DISCRIM_UNION_PARAM_TYPE;
                     14: 
1.1.1.3 ! root       15: typedef DISCRIM_UNION_PARAM_TYPE DISCRIM_UNION_FIELD_TYPE;
        !            16: 
1.1       root       17: typedef struct {
1.1.1.3 ! root       18:     short                                          sDiscrim; 
        !            19:     [switch_is(sDiscrim)] DISCRIM_UNION_FIELD_TYPE u;
1.1       root       20: } DISCRIM_UNION_STRUCT_TYPE;
                     21: 
                     22: 
1.1.1.3 ! root       23: void UnionParamProc(
        !            24:     [in, switch_is(sDiscrim)] DISCRIM_UNION_PARAM_TYPE *UnionParam,
        !            25:     [in]                      short                    sDiscrim
        !            26:     );
1.1       root       27: 
1.1.1.3 ! root       28: void UnionStructProc(
        !            29:     [in] DISCRIM_UNION_STRUCT_TYPE *UnionStruct);
1.1       root       30: 
                     31: void Shutdown(void);
1.1.1.3 ! root       32: 
1.1       root       33: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.