Beispiel #1
0
 DWORD lgLcdEnumerate(int connection, int index,
                      out lgLcdDeviceDesc description);
Beispiel #2
0
 DWORD lgLcdEnumerate(int connection, int index,
 out lgLcdDeviceDesc description);
Beispiel #3
0
 /// <summary>
 /// The lgLcdEnumerate() function is used to retrieve information about all the
 /// currently attached and supported Logitech LCD devices.
 /// </summary>
 /// <remarks>
 /// The connection parameter is returned by a call to lgLcdConnect().
 ///
 /// To enumerate the attached devices, you should call lgLcdEnumerate() and
 /// pass in 0 as index parameter. On subsequent calls, increase the index
 /// parameter by 1 until the function returns ERROR_NO_MORE_ITEMS.
 /// </remarks>
 /// <param name="connection">Specifies the connection that this enumeration refers to.</param>
 /// <param name="index">Specifies which device information is requested. See Remarks.</param>
 /// <param name="description">Points to an lgLcdDeviceDesc structure which will be filled with information about the device.</param>
 /// <returns>
 /// If the function succeeds, the return value is ERROR_SUCCESS.
 /// If the function fails, the return value can be one of the following:
 ///
 /// ERROR_SERVICE_NOT_ACTIVE
 ///     lgLcdInit() has not been called yet.
 /// ERROR_NO_MORE_ITEMS
 ///     There are no more devices to be enumerated. If this error is returned on the first
 ///     call, then there are no devices attached.
 /// ERROR_INVALID_PARAMETER
 ///     The description pointer is NULL.
 /// Xxx
 ///     Other (system) error with appropriate error code.
 /// </returns>
 [DllImport("LgLcd.dll")] private static extern int lgLcdEnumerate(int connection, int index, out lgLcdDeviceDesc description);
Beispiel #4
0
        /// <summary>
        /// The lgLcdEnumerate() function is used to retrieve information about all the 
        /// currently attached and supported Logitech LCD devices.
        /// </summary>
        /// <remarks>
        /// The connection parameter is returned by a call to lgLcdConnect().
        /// 
        /// To enumerate the attached devices, you should call lgLcdEnumerate() and 
        /// pass in 0 as index parameter. On subsequent calls, increase the index 
        /// parameter by 1 until the function returns ERROR_NO_MORE_ITEMS.
        /// </remarks>
        /// <param name="connection">Specifies the connection that this enumeration refers to.</param>
        /// <param name="index">Specifies which device information is requested. See Remarks.</param>
        /// <param name="description">Points to an lgLcdDeviceDesc structure which will be filled with information about the device.</param>
        /// <returns>
        /// If the function succeeds, the return value is ERROR_SUCCESS.
        /// If the function fails, the return value can be one of the following:
        /// 
        /// ERROR_SERVICE_NOT_ACTIVE
        ///     lgLcdInit() has not been called yet.
        /// ERROR_NO_MORE_ITEMS
        ///     There are no more devices to be enumerated. If this error is returned on the first 
        ///     call, then there are no devices attached.
        /// ERROR_INVALID_PARAMETER
        ///     The description pointer is NULL.
        /// Xxx
        ///     Other (system) error with appropriate error code.
        /// </returns>
		[DllImport("LgLcd.dll")] private static extern int lgLcdEnumerate(int connection, int index, out lgLcdDeviceDesc description);