Game Development Reference
In-Depth Information
focuses on one type, so the rest have been truncated out. The DropHandle type
( CF_HDROP ) is used when transferring the location of a group of existing files.
internal enum ClipFormatFlags : uint
{
DropHandle = 15
}
The following flags enumeration is used when creating menu items. There are
many more flags available, but this chapter only focuses on the following flags, so
the rest have been truncated out. All menu items have the Type flag set, and all
menu items except separators have State and ID , which are standard Win32 menu
flags. SubMenu is fairly self-explanatory; the parent menu has it set because it con-
tains submenu items. The rest of the menu items do not set this flag.
internal enum MaskFlags : uint
{
State = 0x00000001,
ID = 0x00000002,
SubMenu = 0x00000004,
Type = 0x00000010
}
The following flags enumeration is used when accessing data contained in a stor-
age medium ( TYEMED ). We only define the Global type because that is the only one
we use in this chapter. Global represents a global memory handle.
internal enum TypeMediumFlags : uint
{
Global = 1
}
The following flags enumeration is used when building the data format for
IDataObject.GetData() . There are more types available, but this chapter only focuses
on one type, so the rest have been truncated out. The Content type ( DVASPECT_CONTENT )
represents an object that can be displayed as an embedded object inside a con-
tainer. This type is for compound document objects.
internal enum DvAspectFlags : uint
{
Content = 1
}
Search Nedrilad ::




Custom Search