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.

46 lines
1.3 KiB

  1. // Copyright (c) 1999 Microsoft Corporation. All rights reserved.
  2. //
  3. // Functions that implement the automation interfaces for the DirectMusic constants.
  4. // This is a table of names and integer values that are implemented as read-only properties.
  5. //
  6. #pragma once
  7. namespace ScriptConstants
  8. {
  9. const LONG IsSecondary = (1 << 0);
  10. const LONG IsControl = (1 << 1);
  11. const LONG AtFinish = (1 << 2);
  12. const LONG AtGrid = (1 << 3);
  13. const LONG AtBeat = (1 << 4);
  14. const LONG AtMeasure = (1 << 5);
  15. const LONG AtMarker = (1 << 6);
  16. const LONG AtImmediate = (1 << 7);
  17. const LONG AlignToBar = (1 << 8);
  18. const LONG AlignToBeat = (1 << 9);
  19. const LONG AlignToSegment = (1 << 10);
  20. const LONG PlayFill = (1 << 11);
  21. const LONG PlayIntro = (1 << 12);
  22. const LONG PlayBreak = (1 << 13);
  23. const LONG PlayEnd = (1 << 14);
  24. const LONG PlayEndAndIntro = (1 << 15);
  25. const LONG PlayModulate = (1 << 16);
  26. const LONG NoCutoff = (1 << 17);
  27. };
  28. HRESULT AutConstantsGetIDsOfNames(
  29. REFIID riid,
  30. LPOLESTR __RPC_FAR *rgszNames,
  31. UINT cNames,
  32. LCID lcid,
  33. DISPID __RPC_FAR *rgDispId);
  34. HRESULT AutConstantsInvoke(
  35. DISPID dispIdMember,
  36. REFIID riid,
  37. LCID lcid,
  38. WORD wFlags,
  39. DISPPARAMS __RPC_FAR *pDispParams,
  40. VARIANT __RPC_FAR *pVarResult,
  41. EXCEPINFO __RPC_FAR *pExcepInfo,
  42. UINT __RPC_FAR *puArgErr);