[]
        
(Showing Draft Content)

C1.Util.Win.Win32.GetObject

GetObject Method

GetObject(nint, int, nint)

Declaration
public static extern int GetObject(nint hgdiobj, int cbBuffer, nint lpvObject)
Public Shared Function GetObject(hgdiobj As IntPtr, cbBuffer As Integer, lpvObject As IntPtr) As Integer
Parameters
Type Name Description
nint hgdiobj
int cbBuffer
nint lpvObject
Returns
Type Description
int

GetObject(nint, int, LOGFONT)

Declaration
public static extern int GetObject(nint hgdiobj, int cbBuffer, Win32.LOGFONT lpvObject)
Public Shared Function GetObject(hgdiobj As IntPtr, cbBuffer As Integer, lpvObject As Win32.LOGFONT) As Integer
Parameters
Type Name Description
nint hgdiobj
int cbBuffer
Win32.LOGFONT lpvObject
Returns
Type Description
int

GetObject(nint, int, ref LOGFONT_UNMANAGED)

Declaration
public static extern int GetObject(nint hgdiobj, int cbBuffer, ref Win32.LOGFONT_UNMANAGED lplf)
Public Shared Function GetObject(hgdiobj As IntPtr, cbBuffer As Integer, ByRef lplf As Win32.LOGFONT_UNMANAGED) As Integer
Parameters
Type Name Description
nint hgdiobj
int cbBuffer
Win32.LOGFONT_UNMANAGED lplf
Returns
Type Description
int