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.

23 lines
851 B

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 2000 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: comutil.h
  6. * Content: Defines COM helper functions for DPLAY8 project.
  7. *@@BEGIN_MSINTERNAL
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 06/07/00 rmt Created
  12. * 06/27/00 rmt Added abstraction for COM_Co(Un)Initialize
  13. *@@END_MSINTERNAL
  14. *
  15. ***************************************************************************/
  16. HRESULT COM_Init();
  17. HRESULT COM_CoInitialize( void * pvParam );
  18. void COM_CoUninitialize();
  19. HRESULT COM_Free();
  20. HRESULT COM_GetDLLName( GUID guidCLSID, CHAR *szPath, DWORD *pdwSize );
  21. STDAPI COM_CoCreateInstance( REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID riid, LPVOID *ppv, BOOL fWarnUser = FALSE );