예제 #1
0
파일: NetSDK.cs 프로젝트: golfpunx/CIT
 private static extern bool CLIENT_SetDeviceMode(int lLoginID, EM_USEDEV_MODE emType, IntPtr pValue);
예제 #2
0
 public static extern bool CLIENT_SetDeviceMode(IntPtr lLoginID, EM_USEDEV_MODE emType, IntPtr pValue);
예제 #3
0
파일: NetSDK.cs 프로젝트: golfpunx/CIT
        /// <summary>
        /// Set Devcie Mode
        /// </summary>
        /// <param name="lHandle">CLIENT_Login return value</param>
        /// <param name="emType">User Dev Mode</param>
        /// <returns>true:success;false:failure</returns>
        public static bool NETSetDeviceMode(Int32 lLoginID, EM_USEDEV_MODE emMode, IntPtr pValue)
        {
            bool bReturn = false;
            try
            {
                bReturn = CLIENT_SetDeviceMode(lLoginID, emMode, pValue);
                VIDEOThrowLastError(bReturn);
            }
            catch (System.Exception ex)
            {
                VIDEOThrowLastError(ex);
                bReturn = false;
            }

            return bReturn;
        }