|
|
1.1 ! root 1: /*************************************************************\ ! 2: * UTSamp.h: Header file for UTSamp sample * ! 3: * * ! 4: \*************************************************************/ ! 5: ! 6: /******* Menu Defines *******/ ! 7: ! 8: #define IDM_EXIT 1001 ! 9: #define IDM_GETUSER 1002 ! 10: #define IDM_GETMEM 1003 ! 11: #define IDM_ABOUT 1004 ! 12: ! 13: #ifndef APIENTRY /* to prevent problems w/ 16 bit compilers */ ! 14: #define APIENTRY /* and the function prototypes. */ ! 15: #endif ! 16: ! 17: /*** Function Prototypes ****/ ! 18: ! 19: DWORD APIENTRY MyGetFreeSpace(void); ! 20: DWORD APIENTRY MyWNetGetUser(LPSTR lpszLocalName, LPSTR lpszUserName, LPDWORD lpcchBuffer); ! 21: ! 22: /* constants for dispatcher */ ! 23: ! 24: #define MYGETFREESPACE 0 ! 25: #define MYWNETGETUSER 1 ! 26: ! 27: #ifdef W32SUT_16 ! 28: ! 29: /* define for WNetGetUser, documented in Windows DDK */ ! 30: ! 31: WORD FAR PASCAL WNetGetUser( LPSTR szUser, WORD FAR *nBufferSize); ! 32: ! 33: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.