|
Section
This is the third part of the property set stream, as shown in Figure C.2. A
section contains:
- byte count for the section (which is inclusive of the byte count itself)
- count of the property values in the section
- array of 32-bit Property ID/Offset pairs
- array of property Type Indicators/Value pairs
Offsets are the distance from the start of the section to the start of the
property (type, value) pair. This allows a section to be copied as an array of
bytes without any translation of internal structure.
The following pseudo-structures illustrate the format of a section:
typedef struct tagPROPERTYSECTIONHEADER
{
DWORD cbSection ; // Size of Section
DWORD cProperties ; // Count of Properties in section
} PROPERTYSECTIONHEADER;
typedef struct tagPROPERTYIDOFFSET
{
DWORD propid; // Name of property
DWORD dwOffset; // Offset from start of section to that property
} PROPERTYIDOFFSET;
typedef struct tag SERIALIZEDPROPERTYVALUE
{
DWORD dwType; // Property Type
BYTE rgb[]; // Property Value
} SERIALIZEDPROPERTYVALUE ;
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|