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.

33 lines
1.6 KiB

  1. /****************************************************************************
  2. *
  3. * capdib.h
  4. *
  5. * Microsoft Video for Windows Sample Capture Class
  6. *
  7. * Copyright (c) 1992, 1993 Microsoft Corporation. All Rights Reserved.
  8. *
  9. * You have a royalty-free right to use, modify, reproduce and
  10. * distribute the Sample Files (and/or any modified version) in
  11. * any way you find useful, provided that you agree that
  12. * Microsoft has no warranty obligations or liability for any
  13. * Sample Application Files which are modified.
  14. *
  15. ***************************************************************************/
  16. void SetDefaultCaptureFormat (LPBITMAPINFOHEADER lpbih);
  17. DWORD AllocNewGlobalBitmapInfo (LPCAPSTREAM lpcs, LPBITMAPINFOHEADER lpbi);
  18. DWORD AllocNewBitSpace (LPCAPSTREAM lpcs, LPBITMAPINFOHEADER lpbih);
  19. DWORD DibInit (LPCAPSTREAM lpcs);
  20. void DibFini (LPCAPSTREAM lpcs);
  21. DWORD SendDriverFormat (LPCAPSTREAM lpcs, LPBITMAPINFOHEADER lpbih, DWORD dwInfoHeaderSize);
  22. DWORD SetFormatFromDIB (LPCAPSTREAM lpcs, LPBITMAPINFOHEADER lpbih);
  23. LPBITMAPINFO DibGetCurrentFormat (LPCAPSTREAM lpcs);
  24. DWORD DibGetNewFormatFromDriver (LPCAPSTREAM lpcs);
  25. BOOL DibNewFormatFromApp (LPCAPSTREAM lpcs, LPBITMAPINFO lpbi, WORD dwSize);
  26. DWORD DibNewPalette (LPCAPSTREAM lpcs, HPALETTE hPalNew);
  27. void DibPaint(LPCAPSTREAM lpcs, HDC hdc);
  28. HANDLE CreatePackedDib (LPBITMAPINFO lpBitsInfo, LPSTR lpSrcBits, HPALETTE hPalette);
  29. BOOL FAR PASCAL dibIsWritable (LPBITMAPINFO lpBitsInfo);
  30. BOOL FAR PASCAL dibWrite(LPCAPSTREAM lpcs, HMMIO hmmio);
  31. BOOL FAR PASCAL fileSaveDIB(LPCAPSTREAM lpcs, LPSTR lpszFileName);