Adhere to w32api copyright conventions.

This commit is contained in:
Christopher Faylor 2000-02-24 18:04:23 +00:00
parent bc019ef210
commit 7408c24343
1 changed files with 21 additions and 34 deletions

View File

@ -1,13 +1,8 @@
/*
rapi.h - main header file for the RAPI API
/* rapi.h - main header file for the RAPI API
Copyright 1999 Cygnus Solutions.
NOTE: This strictly does not belong in the Win32 API since it's
really part of Platform SDK.
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details.
*/
#ifndef _RAPI_H
@ -27,19 +22,11 @@ typedef enum tagRAPISTREAMFLAG
struct IRAPIStreamVtbl
{
HRESULT (__stdcall * SetRapiStat)( IRAPIStream * This, RAPISTREAMFLAG Flag, DWORD dwValue) ;
HRESULT (__stdcall * GetRapiStat)( IRAPIStream * This, RAPISTREAMFLAG Flag, DWORD *pdwValue) ;
HRESULT (__stdcall * SetRapiStat)( IRAPIStream *, RAPISTREAMFLAG, DWORD);
HRESULT (__stdcall * GetRapiStat)( IRAPIStream *, RAPISTREAMFLAG, DWORD *);
};
// RAPI extension on Windows CE (e.g., MyFunctionFOO) called via CeRapiInvoke should be declared as:
// EXTERN_C RAPIEXT MyFunctionFOO;
typedef HRESULT (STDAPICALLTYPE RAPIEXT)(
DWORD cbInput, // [IN]
BYTE *pInput, // [IN]
DWORD *pcbOutput, // [OUT]
BYTE **ppOutput, // [OUT]
IRAPIStream *pIRAPIStream // [IN]
);
typedef HRESULT (STDAPICALLTYPE RAPIEXT)(DWORD, BYTE, DWORD, BYTE, IRAPIStream *);
typedef struct _RAPIINIT
{