mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 21:34:17 +00:00
e1ef078741
The idea then would be to have the following behaviour (when specifying the following options in the kernel command line): /DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible. /DEBUGPORT=FOO --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...) /DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port. svn path=/branches/kd++/; revision=58883
48 lines
964 B
C
48 lines
964 B
C
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#define PIX_PLUGIN_SYSTEM_VERSION 0x101
|
|
|
|
enum PIXCOUNTERDATATYPE
|
|
{
|
|
PCDT_RESERVED,
|
|
PCDT_FLOAT,
|
|
PCDT_INT,
|
|
PCDT_INT64,
|
|
PCDT_STRING,
|
|
};
|
|
|
|
typedef int PIXCOUNTERID;
|
|
|
|
struct PIXCOUNTERINFO
|
|
{
|
|
PIXCOUNTERID counterID;
|
|
WCHAR* pstrName;
|
|
PIXCOUNTERDATATYPE pcdtDataType;
|
|
};
|
|
|
|
struct PIXPLUGININFO
|
|
{
|
|
HINSTANCE hinst;
|
|
WCHAR* pstrPluginName;
|
|
int iPluginVersion;
|
|
int iPluginSystemVersion;
|
|
};
|
|
|
|
BOOL WINAPI PIXBeginExperiment( PIXCOUNTERID id, const WCHAR* pstrApplication );
|
|
BOOL WINAPI PIXEndFrame( PIXCOUNTERID id, UINT iFrame, DWORD* pdwReturnBytes, BYTE** ppReturnData );
|
|
BOOL WINAPI PIXEndExperiment( PIXCOUNTERID id );
|
|
BOOL WINAPI PIXGetCounterInfo( DWORD* pdwReturnCounters, PIXCOUNTERINFO** ppCounterInfoList );
|
|
BOOL WINAPI PIXGetCounterDesc( PIXCOUNTERID id, WCHAR** ppstrCounterDesc );
|
|
BOOL WINAPI PIXGetPluginInfo( PIXPLUGININFO* pPIXPluginInfo );
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|