Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Structures, prefix the name with the module name and a period.
[StructLayout(LayoutKind.Sequential)]
public struct OBJECTDESCRIPTOR
{
public OBJECTDESCRIPTOR ()
{
}
public uint cbSize;
public Guid clsid;
public DVASPECT dwDrawAspect;
public Size sizel;
public Point pointl;
public int dwStatus;
public int dwFullUserTypeName;
public int dwSrcOfCopy;
/* variable sized string data may appear here */
}
VB Definition:
<StructLayout(LayoutKind.Sequential)>
Public Class OBJECTDESCRIPTOR
Public Sub New()
End Sub
Public cbSize As UInteger
Public clsid As Guid
Public dwDrawAspect As DVASPECT
Public sizel As Size
Public pointl As Point
Public dwStatus As Integer
Public dwFullUserTypeName As Integer
Public dwSrcOfCopy As Integer
' variable sized string data may appear here
End Class
User-Defined Field Types:
None.
Notes:
[StructLayout(LayoutKind.Sequential)]
public struct POINT
{
public int X;
public int Y;
None.
public POINT(int x, int y)
{
this.X = x;
this.Y = y;
}
public static implicit operator System.Drawing.Point(POINT p)
{
return new System.Drawing.Point(p.X, p.Y);
}
public static implicit operator POINT(System.Drawing.Point p)
{
return new POINT(p.X, p.Y);
}
}
[StructLayout(LayoutKind.Sequential)]
public struct SIZE
{
public int cx;
public int cy;
public SIZE(int cx, int cy)
{
this.cx = cx;
this.cy = cy;
}
}
///// <summary>
///// The DVASPECT enumeration values specify the desired data or view aspect of the object when drawing or getting data.
///// </summary>
[Flags]
public enum DVASPECT
{
DVASPECT_CONTENT = 1,
DVASPECT_THUMBNAIL = 2,
DVASPECT_ICON = 4,
DVASPECT_DOCPRINT = 8
}
Please edit this page!
Do you have...
helpful tips?
corrections to the existing content?
alternate definitions?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.