summaryrefslogtreecommitdiffhomepage
path: root/contrib/very-important-source-code/important-stuff/NPClient_dll.h
blob: b0bab5db4ec5a5b019407c7a3ad70e7564b0af07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
 * NPClient.dll
 *
 * Generated from NPClient.dll by winedump.
 *
 * DO NOT SEND GENERATED DLLS FOR INCLUSION INTO WINE !
 *
 */
#ifndef __WINE_NPCLIENT_DLL_H
#define __WINE_NPCLIENT_DLL_H

#include "windef.h"
#include "wine/debug.h"
#include "winbase.h"
#include "winnt.h"

#pragma pack(1)
typedef struct tir_data{
  short status;
  short frame;
  unsigned int cksum;
  float roll, pitch, yaw;
  float tx, ty, tz;
  float padding[9];
} tir_data_t;

typedef struct tir_signature{
    char DllSignature[200];
    char AppSignature[200];
} tir_signature_t;
#pragma pack(0)


/* __stdcall NPCLIENT_NPPriv_ClientNotify(); */
/* __stdcall NPCLIENT_NPPriv_GetLastError(); */
/* __stdcall NPCLIENT_NPPriv_SetData(); */
/* __stdcall NPCLIENT_NPPriv_SetLastError(); */
/* __stdcall NPCLIENT_NPPriv_SetParameter(); */
/* __stdcall NPCLIENT_NPPriv_SetSignature(); */
/* __stdcall NPCLIENT_NPPriv_SetVersion(); */
int __stdcall NPCLIENT_NP_GetData(tir_data_t * data);
int __stdcall NPCLIENT_NP_GetParameter(int arg0, int arg1);
int __stdcall NPCLIENT_NP_GetSignature(tir_signature_t * sig);
int __stdcall NPCLIENT_NP_QueryVersion(unsigned short * version);
int __stdcall NPCLIENT_NP_ReCenter(void);
int __stdcall NPCLIENT_NP_RegisterProgramProfileID(unsigned short id);
int __stdcall NPCLIENT_NP_RegisterWindowHandle(HWND hwnd);
int __stdcall NPCLIENT_NP_RequestData(unsigned short req);
int __stdcall NPCLIENT_NP_SetParameter(int arg0, int arg1);
int __stdcall NPCLIENT_NP_StartCursor(void);
int __stdcall NPCLIENT_NP_StartDataTransmission(void);
int __stdcall NPCLIENT_NP_StopCursor(void);
int __stdcall NPCLIENT_NP_StopDataTransmission(void);
int __stdcall NPCLIENT_NP_UnregisterWindowHandle(void);



#endif	/* __WINE_NPCLIENT_DLL_H */