//+-------------------------------------------------------------------------
//
//  Microsoft Windows
//
//  Copyright (C) Microsoft Corporation, 1997 - 1999
//
//  File:       msconv.idl
//
//--------------------------------------------------------------------------

[
uuid(c5dc0994-64fc-11d0-9ad8-00c04fc29e28),
version(1.0)
]
interface ms_conv
{
import "nbase.idl";

typedef unsigned long error_status_t;

[idempotent]
  void ms_conv_who_are_you2(
      [in]        handle_t     Binding,
      [in, ref]  UUID          *pUuid,
      [in]       unsigned long  ServerBootTime,
      [out, ref] unsigned long *SequenceNumber,
      [out, ref] UUID          *CASUuid,
      [out, ref] error_status_t *Status
      );

[idempotent]
  void ms_conv_are_you_there(
      [in]       handle_t         Binding,
      [in, ref]  UUID *           pUuid,
      [in]       unsigned long    ServerBootTime,
      [out, ref] error_status_t * Status
      );

[idempotent]
    void ms_conv_who_are_you_auth(
        [in]        handle_t        Binding,
        [in, ref]  UUID         *   pUuid,
        [in]       unsigned long    ServerBootTime,
        [in, size_is(InLength)] byte InData[],
        [in]       long             InLength,
        [in]       long             OutMaxLength,
        [out, ref] unsigned long *  SequenceNumber,
        [out, ref] UUID          *  CASUuid,
        [out, length_is(*pOutLength), size_is(OutMaxLength)]
                   byte             OutData[],
        [out]      long *           pOutLength,
        [out, ref] error_status_t * Status
        );
}