-
Notifications
You must be signed in to change notification settings - Fork 2
/
picture.cpp
executable file
·55 lines (43 loc) · 1.15 KB
/
picture.cpp
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
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
#include "stdafx.h"
#include "picture.h"
/////////////////////////////////////////////////////////////////////////////
// CPicture properties
long CPicture::GetHandle()
{
long result;
GetProperty(0x0, VT_I4, (void*)&result);
return result;
}
long CPicture::GetHPal()
{
long result;
GetProperty(0x2, VT_I4, (void*)&result);
return result;
}
void CPicture::SetHPal(long propVal)
{
SetProperty(0x2, VT_I4, propVal);
}
short CPicture::GetType()
{
short result;
GetProperty(0x3, VT_I2, (void*)&result);
return result;
}
long CPicture::GetWidth()
{
long result;
GetProperty(0x4, VT_I4, (void*)&result);
return result;
}
long CPicture::GetHeight()
{
long result;
GetProperty(0x5, VT_I4, (void*)&result);
return result;
}
/////////////////////////////////////////////////////////////////////////////
// CPicture operations