Leaked source code of windows server 2003
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.
 
 
 
 
 
 

44 lines
1023 B

//+--------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996-1998
//
// File: common.h
//
// Contents:
//
// History: 12-09-97 HueiWang Modified from MSDN RPC Service Sample
//
//---------------------------------------------------------------------------
#ifndef _LS_COMMON_H
#define _LS_COMMON_H
#include <windows.h>
#include <wincrypt.h>
#include <ole2.h>
#ifdef __cplusplus
extern "C" {
#endif
HRESULT LogEvent(LPTSTR lpszSource,
DWORD dwEventType,
WORD wCatalog,
DWORD dwIdEvent,
WORD cStrings,
TCHAR **apwszStrings);
LPTSTR GetLastErrorText( LPTSTR lpszBuf, DWORD dwSize );
BOOL
ConvertWszToBstr( OUT BSTR *pbstr,
IN WCHAR const *pwc,
IN LONG cb);
#ifdef __cplusplus
}
#endif
#endif