Mobile API Reference  MicroStrategy 2019
PDCwindef.h
Go to the documentation of this file.
1 //==============================================================================================
2 // FILENAME : PDCwindef.h
3 // AUTHOR : Perl Script
4 // CREATION : 6/13/02
5 // Copyright (C) MicroStrategy, Inc. 2002
6 //==============================================================================================
7 #ifndef PDCwindef_h
8 #define PDCwindef_h
9 
10 // this must be the *first* file included
11 #include "ProtectedSource/Prolog.h"
12 
13 #if defined(WIN32) && !defined(_USE_MSI_COM)
14  #include <windef.h>
15 #else
16  //==============================================================================================
17  // FILENAME : windef.h
18  // AUTHOR : Yuling Ma
19  // CREATION : 8/15/02
20  // Copyright (C) MicroStrategy Incorporated 2001
21  // All rights reserved
22  //==============================================================================================
23  #ifndef __WINDEF_H__
24  #define __WINDEF_H__
25 
26  #include "PDCwtypes.h"
27 
28  typedef struct tagRECT
29  {
34  } RECT;
35 
36  typedef struct tagPOINT
37  {
40  } POINT, *PPOINT;
41 
42  typedef struct tagPOINT __RPC_FAR *LPPOINT;
43 #ifdef WIN32 //kxiao add for security subsytem on MSICOM Windows
44 typedef DWORD near *PDWORD;
45 
46 #define MAKEWORD(a, b) ((WORD)(((BYTE)((DWORD_PTR)(a) & 0xff)) | ((WORD)((BYTE)((DWORD_PTR)(b) & 0xff))) << 8))
47 DECLARE_HANDLE(HKEY);
48 typedef HKEY *PHKEY;
49 
50 
51 
52 /* Types use for passing & returning polymorphic values */
53 typedef UINT_PTR WPARAM;
54 typedef LONG_PTR LPARAM;
55 typedef LONG_PTR LRESULT;
56 
57 
58 #endif //win32
59 
60 
61  #endif /* __WINDEF_H__ */
62 #endif // WIN32 && !_USE_MSI_COM
63 
64 // this must be the *last* file included
65 #include "ProtectedSource/Epilog.h"
66 
67 #endif // PDCwindef_h
Definition: PDCwindef.h:36
LONG left
Definition: PDCwindef.h:30
struct tagPOINT __RPC_FAR * LPPOINT
Definition: PDCwindef.h:42
LONG bottom
Definition: PDCwindef.h:33
#define near
Definition: PDCwtypes.h:141
LONG top
Definition: PDCwindef.h:31
struct tagPOINT * PPOINT
LONG x
Definition: PDCwindef.h:38
long LONG
Definition: PDCwtypes.h:119
Definition: PDCwindef.h:28
struct tagPOINT POINT
#define __RPC_FAR
Definition: PDCrpc.h:38
struct tagRECT RECT
LONG right
Definition: PDCwindef.h:32
unsigned long DWORD
Definition: PDCwtypes.h:121
LONG y
Definition: PDCwindef.h:39
#define DECLARE_HANDLE(name)
Definition: PDCwtypes.h:307