Source code of Windows XP (NT5)
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
734 B

  1. //**************************************************************************
  2. //
  3. // Copyright (C) Microsoft Corporation. All rights reserved.
  4. //
  5. // FileName: encmain.cpp
  6. //
  7. //**************************************************************************
  8. //
  9. // Abstract: Encoder API proxy main
  10. //
  11. #include "private.h"
  12. CFactoryTemplate g_Templates[] = {
  13. {
  14. L"IVideoEncoder",
  15. &CLSID_IVideoEncoderProxy,
  16. CVideoEncoderAPIProxy::CreateInstance,
  17. NULL,
  18. NULL
  19. }
  20. };
  21. int g_cTemplates = SIZEOF_ARRAY(g_Templates);
  22. STDAPI
  23. DllRegisterServer (
  24. )
  25. {
  26. return AMovieDllRegisterServer2 (TRUE);
  27. }
  28. STDAPI
  29. DllUnregisterServer (
  30. )
  31. {
  32. return AMovieDllRegisterServer2 (FALSE);
  33. }