Types and Enums – PicInfo sample application
Types
| Type OpenFilename in PicMain | Writes | Reads |
|---|---|---|
| lStructSize As Long | 1 | 0 |
| hwndOwner As Long | 1 | 0 |
| hInstance As Long | 0 | 0 |
| lpstrFilter As String | 1 | 0 |
| lpstrCustomFilter As String | 0 | 0 |
| nMaxCustFilter As Long | 0 | 0 |
| nFilterIndex As Long | 1 | 1 |
| lpstrFile As String | 1 | 3 |
| nMaxFile As Long | 1 | 0 |
| lpstrFileTitle As String | 0 | 0 |
| nMaxFileTitle As Long | 0 | 0 |
| lpstrInitialDir As String | 2 | 0 |
| lpstrTitle As String | 1 | 0 |
| Flags As Long | 1 | 1 |
| nFileOffset As Integer | 0 | 0 |
| nFileExtension As Integer | 0 | 0 |
| lpstrDefExt As String | 1 | 0 |
| lCustData As Long | 0 | 0 |
| lpfnHook As Long | 0 | 0 |
| lpTemplateName As String | 0 | 0 |
| Type TPicSize in IPicInfo | Writes | Reads |
| Width As Long | 3 | 1 |
| Height As Long | 3 | 1 |
| Type BITMAPFILEHEADER in PicBMP | Writes | Reads |
| bfType As Integer | 1 | 1 |
| bfSize As Long | 1 | 0 |
| bfReserved1 As Integer | 1 | 1 |
| bfReserved2 As Integer | 1 | 1 |
| bfOffBits As Long | 1 | 0 |
| Type BITMAPINFOHEADER in PicBMP | Writes | Reads |
| biSize As Long | 1 | 0 |
| biWidth As Long | 1 | 1 |
| biHeight As Long | 1 | 1 |
| biPlanes As Integer | 1 | 0 |
| biBitCount As Integer | 1 | 1 |
| biCompression As Long | 1 | 1 |
| biSizeImage As Long | 1 | 0 |
| biXPelsPerMeter As Long | 1 | 0 |
| biYPelsPerMeter As Long | 1 | 0 |
| biClrUsed As Long | 1 | 0 |
| biClrImportant As Long | 1 | 0 |
| Type BITMAPCOREHEADER in PicBMP | Writes | Reads |
| bcSize As Long | 1 | 0 |
| bcWidth As Integer | 1 | 1 |
| bcHeight As Integer | 1 | 1 |
| bcPlanes As Integer | 1 | 0 |
| bcBitCount As Integer | 1 | 1 |
| Type TLogicalScreenDescriptor in PicGIF | Writes | Reads |
| Width As Integer | 1 | 1 |
| Height As Integer | 1 | 1 |
| Packed As Byte | 1 | 1 |
| BackgroundColorIndex As Byte | 1 | 0 |
| PixelAspectRatio As Byte | 1 | 0 |
Enums
| Enum EFileDlgFlags in PicMain | Value | Reads |
|---|---|---|
| OFN_ |
512 | 0 |
| OFN_ |
8192 | 0 |
| OFN_ |
4096 | 1 |
| OFN_ |
4 | 2 |
| OFN_ |
8 | 0 |
| OFN_ |
1048576 | 0 |
| OFN_ |
131072 | 0 |
| OFN_ |
32768 | 1 |
| OFN_ |
65536 | 0 |
| OFN_ |
2 | 1 |
| OFN_ |
2048 | 2 |
| OFN_ |
1 | 0 |
| OFN_ |
16384 | 0 |
| OFN_ |
6148 | 1 |
| OFN_ |
34822 | 0 |
| Enum EBMPType in PicBMP | Value | Reads |
| bmpUnknown | 0 | 1 |
| bmpInfoHeader | 1 | 3 |
| bmpCoreHeader | 2 | 3 |
Summary
| Enums | 2 |
| Enum constants | 18 |
| Average constants per Enum | 9.0 |
| Types | 6 |
| Type fields | 48 |
| Average fields per Type | 8.0 |