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.

24 lines
594 B

  1. /*
  2. * api.h
  3. */
  4. typedef HRESULT (WINAPI *PFNCODEC_INIT_COMPRESSION)(VOID);
  5. typedef VOID (WINAPI *PFNCODEC_DEINIT_COMPRESSION)(VOID);
  6. typedef HRESULT (WINAPI *PFNCODEC_CREATE_COMPRESSION)(PVOID *context, ULONG flags);
  7. typedef HRESULT (WINAPI *PFNCODEC_COMPRESS)(
  8. PVOID context,
  9. CONST PBYTE input,
  10. LONG input_size,
  11. PBYTE output,
  12. LONG output_size,
  13. PLONG input_used,
  14. PLONG output_used,
  15. INT compression_level
  16. );
  17. typedef VOID (WINAPI *PFNCODEC_DESTROY_COMPRESSION)(PVOID context);
  18. typedef HRESULT (WINAPI *PFNCODEC_RESET_COMPRESSION)(PVOID context);