Esempio n. 1
0
    static public bool QueryVersion(ref LDS_VERSION ver)
    {
        uint hwnd = GetLDSWindowHandle();
        uint PID  = _GetCurrentProcessId();

        if (hwnd == 0)
        {
            return(false);            // ERR
        }
        _SendMessage(
            hwnd,
            Convert.ToUInt32(LDSCommands.WM_LDS_CMD_QUERYVERSION),
            PID,
            ref ver);

        return(true);        // OK
    }
Esempio n. 2
0
 private static extern uint _SendMessage(uint hWnd, uint uMsg, uint wParam, ref LDS_VERSION lParam);
Esempio n. 3
0
    public static bool QueryVersion(ref LDS_VERSION ver)
    {
        uint hwnd = GetLDSWindowHandle();
        uint PID  = _GetCurrentProcessId();

        if (hwnd == 0)
            return false; // ERR
        _SendMessage(
            hwnd,
            Convert.ToUInt32(LDSCommands.WM_LDS_CMD_QUERYVERSION),
            PID,
            ref ver);

        return true; // OK
    }
Esempio n. 4
0
 static private extern uint _SendMessage(uint hWnd, uint uMsg, uint wParam, ref LDS_VERSION lParam);