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.

31 lines
1.2 KiB

  1. //
  2. // transmit.h
  3. //
  4. #ifndef TRANSMIT_H
  5. #define TRANSMIT_H
  6. #define POINTER_ALIGN( pStuff, cAlign ) \
  7. pStuff = (unsigned char *)((ULONG_PTR)((pStuff) + (cAlign)) & ~ (cAlign))
  8. #define LENGTH_ALIGN( Length, cAlign ) \
  9. Length = (((Length) + (cAlign)) & ~ (cAlign))
  10. ULONG Cic_HBITMAP_UserSize (HBITMAP * pHBitmap, HBITMAP * pHBitmap_2 = NULL);
  11. BYTE *Cic_HBITMAP_UserMarshal(BYTE *pBuffer, BYTE *pBufferEnd, HBITMAP *pHBitmap, HBITMAP *pHBitmap_2 = NULL);
  12. BYTE *Cic_HBITMAP_UserUnmarshal(BYTE *pBuffer, HBITMAP *pHBitmap, HBITMAP *pHBitmap_2 = NULL);
  13. void Cic_HBITMAP_UserFree(HBITMAP *pHBitmap, HBITMAP *pHBitmap_2 = NULL);
  14. ULONG Cic_TF_LBBALLOONINFO_UserSize (TF_LBBALLOONINFO *pInfo);
  15. BYTE *Cic_TF_LBBALLOONINFO_UserMarshal(BYTE *pBuffer, TF_LBBALLOONINFO *pInfo);
  16. HRESULT Cic_TF_LBBALLOONINFO_UserUnmarshal(BYTE *pBuffer, TF_LBBALLOONINFO *pInfo);
  17. void Cic_TF_LBBALLOONINFO_UserFree(TF_LBBALLOONINFO *pInfo);
  18. ULONG Cic_HICON_UserSize (HICON * pHBitmap);
  19. BYTE *Cic_HICON_UserMarshal(BYTE *pBuffer, BYTE *pBufferEnd, HICON *pHBitmap);
  20. BYTE *Cic_HICON_UserUnmarshal(BYTE *pBuffer, HICON *pHBitmap);
  21. void Cic_HICON_UserFree(HICON *pHBitmap);
  22. #endif // TRANSMIT_H