[3255] | 1 | /*********************************************************************NVMH3****
|
---|
| 2 | Path: E:\Documents and Settings\sdomine\My Documents\CGFX_Beta_Runtime\include
|
---|
| 3 | File: ICgFX.h
|
---|
| 4 |
|
---|
| 5 | Copyright NVIDIA Corporation 2002
|
---|
| 6 | TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED
|
---|
| 7 | *AS IS* AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXPRESS
|
---|
| 8 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
|
---|
| 9 | AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL NVIDIA OR ITS SUPPLIERS
|
---|
| 10 | BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES
|
---|
| 11 | WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS,
|
---|
| 12 | BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS)
|
---|
| 13 | ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF NVIDIA HAS
|
---|
| 14 | BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
---|
| 15 |
|
---|
| 16 |
|
---|
| 17 | Comments:
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | ******************************************************************************/
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | #ifndef __I_CGFX_H
|
---|
| 26 | #define __I_CGFX_H
|
---|
| 27 |
|
---|
| 28 | #include "CgFX/cgfx_stddefs.h"
|
---|
| 29 |
|
---|
| 30 | class IDeviceStateMgr;
|
---|
| 31 |
|
---|
| 32 | namespace ICgFX
|
---|
| 33 | {
|
---|
| 34 | typedef HRESULT CreateFunction( IDeviceStateMgr** pMgr, const DWORD& theHandle );
|
---|
| 35 | bool RegisterDeviceCreateFunction(const char* pName, CreateFunction* pFunction );
|
---|
| 36 |
|
---|
| 37 | HRESULT SetDeviceType(const char* pDeviceName, const DWORD& deviceHandle);
|
---|
| 38 | HRESULT FreeDevice(const char* pDeviceName, const DWORD& deviceHandle);
|
---|
| 39 |
|
---|
| 40 | typedef void (* Callback)( void* pData, const char* const pString );
|
---|
| 41 | HRESULT AddErrorCallback(void * lpData, Callback lpCb);
|
---|
| 42 | HRESULT AddWarningCallback(void * lpData, Callback lpCb);
|
---|
| 43 | HRESULT AddLogCallback(void * lpData, Callback lpCb);
|
---|
| 44 |
|
---|
| 45 | //HRESULT Release();
|
---|
| 46 | };
|
---|
| 47 |
|
---|
| 48 | #endif
|
---|