Click or drag to resize

Win32WindowExecuteWithDCT Method (FuncIntPtr, T)

Executes the specified function with a device context (DC).

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public T ExecuteWithDC<T>(
	Func<IntPtr, T> func
)

Parameters

func
Type: SystemFuncIntPtr, T
The action.

Type Parameters

T
The expected return type.

Return Value

Type: T
The return of the function call.
Exceptions
ExceptionCondition
ArgumentNullExceptionfunc is null.
See Also