Search Results for

    Show / Hide Table of Contents

    Class NativeSdkMethods.RegisterEventNotificationDelegate

    Register for event notification.

    Inheritance
    Object
    NativeSdkMethods.RegisterEventNotificationDelegate
    Namespace: Colore.Native
    Assembly: Colore.dll
    Syntax
    public sealed class RegisterEventNotificationDelegate : MulticastDelegate
    Remarks

    Messages can only be handled in a Windows message pumping thread. WmChromaEvent will be sent if there is an event. Possible combination of wParam and lParam values are explained in the below table.

    wParam valuelParaml valueMeaning
    11Chroma SDK support enabled
    10Chroma SDK support disabled
    21Access to device granted
    20Access to device revoked
    31Application state enabled
    30

    Constructors

    RegisterEventNotificationDelegate(Object, IntPtr)

    Declaration
    public RegisterEventNotificationDelegate(object object, IntPtr method)
    Parameters
    Type Name Description
    Object object
    IntPtr method

    Methods

    BeginInvoke(IntPtr, AsyncCallback, Object)

    Declaration
    public virtual IAsyncResult BeginInvoke(IntPtr hwnd, AsyncCallback callback, object object)
    Parameters
    Type Name Description
    IntPtr hwnd
    AsyncCallback callback
    Object object
    Returns
    Type Description
    IAsyncResult

    EndInvoke(IAsyncResult)

    Declaration
    public virtual Result EndInvoke(IAsyncResult result)
    Parameters
    Type Name Description
    IAsyncResult result
    Returns
    Type Description
    Result

    Invoke(IntPtr)

    Declaration
    public virtual Result Invoke(IntPtr hwnd)
    Parameters
    Type Name Description
    IntPtr hwnd
    Returns
    Type Description
    Result
    In This Article
    Back to top Copyright © 2015-2021 by Adam Hellberg and Brandon Scott
    Generated by DocFX