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.
60 lines
1.4 KiB
60 lines
1.4 KiB
//+--------------------------------------------------------------------------
|
|
//
|
|
// Copyright (c) 1997-1999 Microsoft Corporation
|
|
//
|
|
// File: hydra4db.h
|
|
//
|
|
// Contents:
|
|
//
|
|
// History:
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
#ifndef __HYDRA4_DB_H__
|
|
#define __HYDRA4_DB_H__
|
|
|
|
#include "license.h"
|
|
|
|
//----------------------------------------------------------------------
|
|
//
|
|
// NT4 Hydra specific
|
|
//
|
|
//
|
|
#define NT4SZSERVICENAME _TEXT("TermServLicensing")
|
|
|
|
#define NT4LSERVER_DEFAULT_DSN _TEXT("Hydra License")
|
|
#define NT4LSERVER_DEFAULT_USER _TEXT("sa")
|
|
#define NT4LSERVER_DEFAULT_PWD _TEXT("password")
|
|
|
|
//---------------------------------------------------------------------------
|
|
//
|
|
// Server specified Registry Entry
|
|
//
|
|
#define NT4LSERVER_REGISTRY_BASE \
|
|
_TEXT("SYSTEM\\CurrentControlSet\\Services")
|
|
|
|
#define NT4LSERVER_PARAMETERS \
|
|
_TEXT("Parameters")
|
|
|
|
#define NT4LSERVER_REGKEY \
|
|
NT4LSERVER_REGISTRY_BASE _TEXT("\\") NT4SZSERVICENAME _TEXT("\\") NT4LSERVER_PARAMETERS
|
|
|
|
#define NT4LSERVER_PARAMETERS_DSN _TEXT("Dsn")
|
|
#define NT4LSERVER_PARAMETERS_USER _TEXT("User")
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
DWORD
|
|
GetNT4DbConfig(
|
|
LPTSTR pszDsn,
|
|
LPTSTR pszUserName,
|
|
LPTSTR pszPwd,
|
|
LPTSTR pszMdbFile
|
|
);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|