Source code of Windows XP (NT5)
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.

47 lines
1.1 KiB

  1. #ifndef NOATOM
  2. /* atom manager internals */
  3. #define ATOMSTRUC struct atomstruct
  4. typedef ATOMSTRUC *PATOM;
  5. typedef ATOMSTRUC {
  6. PATOM chain;
  7. WORD usage; /* Atoms are usage counted. */
  8. BYTE len; /* length of ASCIZ name string */
  9. BYTE name; /* beginning of ASCIZ name string */
  10. } ATOMENTRY;
  11. typedef struct {
  12. int numEntries;
  13. PATOM pAtom[ 1 ];
  14. } ATOMTABLE;
  15. ATOMTABLE * PASCAL pAtomTable;
  16. #endif
  17. LPSTR API lstrbscan(LPSTR, LPSTR);
  18. LPSTR API lstrbskip(LPSTR, LPSTR);
  19. int API OpenPathName(LPSTR, int);
  20. int API DeletePathName(LPSTR);
  21. WORD API _ldup(int);
  22. /* scheduler things that the world knows not */
  23. BOOL API WaitEvent( HANDLE );
  24. BOOL API PostEvent( HANDLE );
  25. BOOL API KillTask( HANDLE );
  26. /* print screen hooks */
  27. BOOL API SetPrtScHook(FARPROC);
  28. FARPROC API GetPrtScHook(void);
  29. /* scroll bar messages */
  30. #define SBM_SETPOS WM_USER+0
  31. #define SBM_GETPOS WM_USER+1
  32. #define SBM_SETRANGE WM_USER+2
  33. #define SBM_GETRANGE WM_USER+3
  34. #define SBM_ENABLE_ARROWS WM_USER+4
  35. /* module stuff */
  36. HANDLE API GetDSModule( WORD );
  37. HANDLE API GetDSInstance( WORD );
  38.