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.

40 lines
978 B

  1. /* File: D:\WACKER\tdll\sf_data.h (Created: 16-Dec-1993)
  2. *
  3. * Copyright 1994 by Hilgraeve Inc. -- Monroe, MI
  4. * All rights reserved
  5. *
  6. * $Revision: 1 $
  7. * $Date: 10/05/98 12:37p $
  8. */
  9. /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
  10. /* Error codes */
  11. #define SFD_ERR_BASE 0x200
  12. #define SFD_NO_MEMORY SFD_ERR_BASE+1
  13. #define SFD_BAD_POINTER SFD_ERR_BASE+2
  14. #define SFD_SIZE_ERROR SFD_ERR_BASE+3
  15. /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
  16. /* Generic data structure */
  17. struct stDataPointer
  18. {
  19. int nSize;
  20. };
  21. typedef struct stDataPointer SF_DATA;
  22. #define SFD_MAX (32*1024)
  23. /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
  24. extern int sfdGetDataBlock(const HSESSION hSession,
  25. const int nId,
  26. const void **ppData);
  27. extern int sfdPutDataBlock(const HSESSION hSession,
  28. const int nId,
  29. const void *pData);