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.

25 lines
786 B

  1. // OLESTUFF.H
  2. // Prototypes for OLE delay-load stuff needed for the toolbar and tab
  3. // drop target classes.
  4. //
  5. // History:
  6. // 8/22/96 - t-mkim: created
  7. //
  8. #ifndef _OLESTUFF_H
  9. #define _OLESTUFF_H
  10. // This deals with the OLE library module handle
  11. //
  12. HMODULE PrivLoadOleLibrary ();
  13. BOOL PrivFreeOleLibrary (HMODULE hmodOle);
  14. // Following functions correspond to CoInitialize, CoUninitialize,
  15. // RegisterDragDrop, and RevokeDragDrop. All take the HMODULE returned
  16. // by PrivLoadOleLibrary.
  17. //
  18. HRESULT PrivCoInitialize (HMODULE hmodOle);
  19. void PrivCoUninitialize (HMODULE hmodOle);
  20. HRESULT PrivRegisterDragDrop (HMODULE hmodOle, HWND hwnd, IDropTarget *pDropTarget);
  21. HRESULT PrivRevokeDragDrop (HMODULE hmodOle, HWND hwnd);
  22. #endif //_OLESTUFF_H