source: trunk/src/oleaut32/iPicture.h@ 1730

Last change on this file since 1730 was 1729, checked in by davidr, 26 years ago

Added beginnings of IPicture interface for VB6 support.

File size: 1.1 KB
Line 
1/* $Id: iPicture.h,v 1.1 1999-11-14 01:26:36 davidr Exp $ */
2/*
3 * OLE Picture functions private header
4 *
5 * 12/11/99 - New Code
6 *
7 * Copyright 1999 David J. Raison
8 *
9 * Project Odin Software License can be found in LICENSE.TXT
10 *
11 */
12
13#if !defined(IPICTURE_INCLUDED)
14#define IPICTURE_INCLUDED
15
16#define PICTYPE_UNINITIALIZED (-1)
17#define PICTYPE_NONE 0
18#define PICTYPE_BITMAP 1
19#define PICTYPE_METAFILE 2
20#define PICTYPE_ICON 3
21#define PICTYPE_ENHMETAFILE 4
22
23typedef struct tagPICTDESC
24{
25 UINT cbSizeofstruct;
26 UINT picType;
27 union
28 {
29 struct
30 {
31 HBITMAP hbitmap; // Bitmap
32 HPALETTE hpal; // Accompanying palette
33 } bmp;
34
35 struct
36 {
37 HMETAFILE hmeta; // Metafile
38 int xExt;
39 int yExt; // Extent
40 } wmf;
41
42 struct
43 {
44 HICON hicon; // Icon
45 } icon;
46
47 struct
48 {
49 HENHMETAFILE hemf; // Enhanced Metafile
50 } emf;
51 } u;
52
53} PICTDESC, * LPPICTDESC;
54
55#endif /* IPICTURE_INCLUDED */
Note: See TracBrowser for help on using the repository browser.