Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.1 KiB

  1. //
  2. // Microsoft Windows Media Technologies
  3. // Copyright (C) Microsoft Corporation, 1999 - 2001. All rights reserved.
  4. //
  5. cpp_quote("#define SAC_MAC_LEN 8")
  6. #define SAC_MAC_LEN 8
  7. [
  8. object,
  9. uuid(A9889C00-6D2B-11d3-8496-00C04F79DBC0),
  10. pointer_default(unique)
  11. ]
  12. interface IComponentAuthenticate : IUnknown
  13. {
  14. // This method will be call one or more time as dictated by the protocolID.
  15. // The stucuture of the data in pbDataIn and pbDataOut is determined by
  16. // the values of dwProtocolID and dwPass.
  17. HRESULT SACAuth([in] DWORD dwProtocolID,
  18. [in] DWORD dwPass,
  19. [in, size_is(dwDataInLen)] BYTE *pbDataIn,
  20. [in] DWORD dwDataInLen,
  21. [out, size_is(, *pdwDataOutLen)] BYTE **ppbDataOut,
  22. [out] DWORD *pdwDataOutLen);
  23. // This method allows a component to discover the authentication protocols
  24. // supported by another component.
  25. HRESULT SACGetProtocols([out, size_is(, *pdwProtocolCount)] DWORD **ppdwProtocols,
  26. [out] DWORD *pdwProtocolCount);
  27. };