File:  [WindowsNT SDKs] / mstools / win32s / ut / samples / ut_def / db.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

/*++

Copyright (c) 1985-92, Microsoft Corporation

Module Name:

    db.h

Abstract:

    Win32s sample code of Universal Thunk (UT) -
    this example demonstrates how existing 16bit code can provide services
    to 32bit application thru a thunking layer based on the UT api.

    This header file defines the interface to the data base services.
    The 32-bit interface provided by thunking is identical to the 16-bit
    interface.

--*/


typedef  struct {
     DWORD         len;
     LPSTR         str;
} DB_NAME, FAR * LPDB_NAME;

typedef  struct {
     short int  year;
     short int  month;
     short int  day;
     short int  hour;
     short int  minute;
     short int  seconds;
} DB_TIME, FAR * LPDB_TIME;


/*
 * following services are provided by DB.DLL which is a 16bit dll.
 */


int         DbGetVersion(void);
void        DbSetTime(LPDB_TIME pTime);
short       DbAddUser(LPDB_NAME pName, DWORD Permission, LPDWORD pId);



unix.superglobalmegacorp.com

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