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.

45 lines
1005 B

  1. //=============================================================================
  2. //
  3. // MODULE: ASN1IntegerSeq.cxx
  4. //
  5. // Description:
  6. //
  7. // Implementation of integer sequence parsing logic
  8. //
  9. // Modification History
  10. //
  11. // Mark Pustilnik Date: 07/09/02 - created
  12. //
  13. //=============================================================================
  14. #include "ASN1Parser.hxx"
  15. DWORD
  16. ASN1ParserIntegerSequence::DisplayCollectedValues(
  17. IN ASN1FRAME * Frame,
  18. IN ULONG Length,
  19. IN ULPBYTE Address
  20. )
  21. {
  22. DWORD dw = ERROR_SUCCESS;
  23. UNREFERENCED_PARAMETER( Length );
  24. UNREFERENCED_PARAMETER( Address );
  25. for ( ULONG i = 0; i < QueryCollectedCount(); i++ )
  26. {
  27. dw = Display(
  28. Frame,
  29. QueryCollectedValue( i ),
  30. m_hPropertyInteger,
  31. 0
  32. );
  33. if ( dw != ERROR_SUCCESS )
  34. {
  35. break;
  36. }
  37. }
  38. return dw;
  39. };