File:  [WindowsNT SDKs] / mstools / win32s / ut / samples / utsample / utsamp.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:25:17 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 511 (SDK Final Release) 07-24-1993

/*************************************************************\
* UTSamp.h: Header file for UTSamp sample		      *
*                                                             *
\*************************************************************/

/******* Menu Defines *******/

#define IDM_EXIT       1001
#define IDM_GETUSER    1002
#define IDM_GETMEM     1003
#define IDM_ABOUT      1004

#ifndef APIENTRY /* to prevent problems w/ 16 bit compilers  */
#define APIENTRY /* and the function prototypes.	     */
#endif

/*** Function Prototypes ****/

DWORD APIENTRY MyGetFreeSpace(void);
DWORD APIENTRY MyWNetGetUser(LPSTR lpszLocalName, LPSTR lpszUserName, LPDWORD lpcchBuffer);

/* constants for dispatcher */

#define MYGETFREESPACE 0
#define MYWNETGETUSER  1

#ifdef W32SUT_16

/* define for WNetGetUser, documented in Windows DDK */

WORD FAR PASCAL WNetGetUser( LPSTR szUser, WORD FAR *nBufferSize);

#endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.