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.

43 lines
1.3 KiB

  1. /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  2. Microsoft Windows, Copyright (C) Microsoft Corporation, 2000
  3. File: Decoder.h
  4. Content: Declaration of Decoder routines.
  5. History: 11-15-2001 dsie created
  6. ------------------------------------------------------------------------------*/
  7. #ifndef __DECODER_H_
  8. #define __DECODER_H_
  9. #include "Debug.h"
  10. ////////////////////////////////////////////////////////////////////////////////
  11. //
  12. // Exported functions.
  13. //
  14. /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  15. Function : CreateDecoderObject
  16. Synopsis : Create a known decoder object and return the IDispatch.
  17. Parameter: LPSTR pszOid - OID string.
  18. CRYPT_DATA_BLOB * pEncodedBlob - Pointer to encoded data blob.
  19. IDispatch ** ppIDecoder - Pointer to pointer IDispatch
  20. to recieve the interface pointer.
  21. Remark :
  22. ------------------------------------------------------------------------------*/
  23. HRESULT CreateDecoderObject (LPSTR pszOid,
  24. CRYPT_DATA_BLOB * pEncodedBlob,
  25. IDispatch ** ppIDecoder);
  26. #endif //__DECODER_H_