Annotation of mstools/win32s/ut/samples/ut_def/db.h, revision 1.1

1.1     ! root        1: /*++
        !             2: 
        !             3: Copyright (c) 1985-92, Microsoft Corporation
        !             4: 
        !             5: Module Name:
        !             6: 
        !             7:     db.h
        !             8: 
        !             9: Abstract:
        !            10: 
        !            11:     Win32s sample code of Universal Thunk (UT) -
        !            12:     this example demonstrates how existing 16bit code can provide services
        !            13:     to 32bit application thru a thunking layer based on the UT api.
        !            14: 
        !            15:     This header file defines the interface to the data base services.
        !            16:     The 32-bit interface provided by thunking is identical to the 16-bit
        !            17:     interface.
        !            18: 
        !            19: --*/
        !            20: 
        !            21: 
        !            22: typedef  struct {
        !            23:      DWORD         len;
        !            24:      LPSTR         str;
        !            25: } DB_NAME, FAR * LPDB_NAME;
        !            26: 
        !            27: typedef  struct {
        !            28:      short int  year;
        !            29:      short int  month;
        !            30:      short int  day;
        !            31:      short int  hour;
        !            32:      short int  minute;
        !            33:      short int  seconds;
        !            34: } DB_TIME, FAR * LPDB_TIME;
        !            35: 
        !            36: 
        !            37: /*
        !            38:  * following services are provided by DB.DLL which is a 16bit dll.
        !            39:  */
        !            40: 
        !            41: 
        !            42: int         DbGetVersion(void);
        !            43: void        DbSetTime(LPDB_TIME pTime);
        !            44: short       DbAddUser(LPDB_NAME pName, DWORD Permission, LPDWORD pId);
        !            45: 
        !            46: 

unix.superglobalmegacorp.com

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