亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? conaapplicationinstallation.cs

?? 以前做NOKIA手機與PC通信時所參考的源代碼,里面包括兩個程序,一個是手機文件夾瀏覽源碼,另一個手機SIS安裝程序.
?? CS
?? 第 1 頁 / 共 2 頁
字號:
//Filename    : CONAApplicationInstallation.cs
//Part of     : Connectivity API C# examples
//Description : Connectivity API data definitions, converted from CONADefinitions.h
//Version     : 3.2
//
//This example is only to be used with PC Connectivity API version 3.2.
//Compability ("as is") with future versions is not quaranteed.
//
//Copyright (c) 2007 Nokia Corporation.
//
//This material, including but not limited to documentation and any related
//computer programs, is protected by intellectual property rights of Nokia
//Corporation and/or its licensors.
//All rights are reserved. Reproducing, modifying, translating, or
//distributing any or all of this material requires the prior written consent
//of Nokia Corporation. Nokia Corporation retains the right to make changes
//to this material at any time without notice. A copyright license is hereby
//granted to download and print a copy of this material for personal use only.
//No other license to any other intellectual property rights is granted. The
//material is provided "as is" without warranty of any kind, either express or
//implied, including without limitation, any warranty of non-infringement,
//merchantability and fitness for a particular purpose. In no event shall
//Nokia Corporation be liable for any direct, indirect, special, incidental,
//or consequential loss or damages, including but not limited to, lost profits
//or revenue,loss of use, cost of substitute program, or loss of data or
//equipment arising out of the use or inability to use the material, even if
//Nokia Corporation has been advised of the likelihood of such damages occurring.

using System.Runtime.InteropServices;
namespace CONAFileSystem
{
    class CONAApplicationInstallation
    {
        ///////////////////////////////////////////////////////////////////////
        //// Connectivity API Application Installation definitions and function
        ///////////////////////////////////////////////////////////////////////

        // The next define values used to define which type of struct is used:
        // Use when struct type is CONAPI_APPLICATION_SIS
        public const int CONA_APPLICATION_TYPE_SIS = 1;
        // Use when struct type is CONA_APPLICATION_TYPE_JAVA
        public const int CONA_APPLICATION_TYPE_JAVA = 2;
        // Use when struct type is CONAPI_APPLICATION_THEMES
        public const int CONA_APPLICATION_TYPE_THEMES = 4;
        // Use only in CONAPI_APPLICATION_INFO struct, unknown application type.
        public const int CONA_APPLICATION_TYPE_UNKNOWN = 8;
        // Default uninstallation, used with CONAUninstallApplication function.
        public const int CONA_DEFAULT_UNINSTALLATION = 256;
        // Silent uninstallation, used with CONAUninstallApplication function.
        public const int CONA_SILENT_UNINSTALLATION = 512;
        //
        public const int CONA_LIST_ALL_APPICATIONS = 4096;
        // List all installed java applications, used with CONAListApplications function
        public const int CONA_LIST_JAVA_APPICATIONS = 8192;
        // List all installed themes, used with CONAListApplications function
        public const int CONA_LIST_THEMES_APPICATIONS = 16384;


        // The struct for sis applications
        public struct CONAPI_APPLICATION_SIS
        {
            [MarshalAs(UnmanagedType.LPWStr)]   // sis application File name, must be set 
            public string pstrFileNameSis;      // The value can also include the file path in PC.                                
        }

        // The struct for java applications
        [StructLayout(LayoutKind.Sequential)]
        public struct CONAPI_APPLICATION_JAVA
        {
            [MarshalAs(UnmanagedType.LPWStr)]   // File name of the jad file. The value can also include the file path in PC.
            public string pstrFileNameJad;      //If jad file is not available, the value must be NULL.  
            [MarshalAs(UnmanagedType.LPWStr)]   // File name of the jar file, must be set. 
            public string pstrFileNameJar;      // The value can also include the file path in PC.

        }

        // The struct for themes file
        [StructLayout(LayoutKind.Sequential)]
        public struct CONAPI_APPLICATION_FILE
        {
            [MarshalAs(UnmanagedType.LPWStr)]   // File name of the nth file, must be set
            public string pstrFileName;         // The value can also include the file path in PC.		
            public int iOptions;                // Reserved for future use, the value must be 0.
        }

        //The struct for application info, used with CONAListApplications function
        public struct CONAPI_APPLICATION_INFO
        {
            public int dwSize;                  // Size of struct in bytes.
            [MarshalAs(UnmanagedType.LPWStr)]   // Application name. Always exist.
            public string pstrName;
            [MarshalAs(UnmanagedType.LPWStr)]   // Application description. If not available, pointer is NULL.
            public string pstrDescription;
            [MarshalAs(UnmanagedType.LPWStr)]   // Application vendor. If not available, pointer is NULL.
            public string pstrVendor;
            [MarshalAs(UnmanagedType.LPWStr)]   // Application version. If not available, pointer is NULL.
            public string pstrVersion;
            [MarshalAs(UnmanagedType.LPWStr)]   // Parent application name. This is available if application is augmentation 
            public string pstrParentAppNam;
            // Application size in bytes. If not available, value is -1 (0xFFFFFFFF).
            //                                            for some other application. 
            public int dwApplicationSize;
            // Application type possible values:
            //	                                CONA_APPLICATION_TYPE_SIS		:	Sis application
            //								    CONA_APPLICATION_TYPE_JAVA		:	Java application
            //								    CONA_APPLICATION_TYPE_THEMES    :	Themes application	
            //								    CONA_APPLICATION_TYPE_UNKNOWN	:	Application type is not available
            public int dwApplicationType;
            [MarshalAs(UnmanagedType.LPWStr)]   // Application UID string, used with CONAUninstallApplication function.
            public string pstrUID;              // Reserved for future use. Value is zero.
            public int dwOptions;
            [MarshalAs(UnmanagedType.LPWStr)]   // Reserved for future use. Pointer is NULL.
            public string pstrValue;
        }

        [DllImport("ConnAPI", EntryPoint = "CONAInstallApplication", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)]

        //=========================================================
        // CONAInstallXXXApplication 
        //
        // Description:
        //	CONAInstallApplication installs the given application on 
        //	the device. FS's CONACancel function can be used to cancel 
        //	this function. The application file name(s) must be given 
        //	in the CONAPI_APPLICATION_SIS or CONAPI_APPLICATION_JAVA 
        //	structure. 
        //	
        //	The function also checks the amount of free memory from 
        //	the phone before the installation. If there is not enough 
        //	memory left in the target memory drive, the function fails 
        //	with the error code ECONA_MEMORY_FULL.
        //	
        //	If the Application file type is sis, the CONAPI_APPLICATION_SIS 
        //	structure must be used. The iAppicationType parameter's 
        //	value must be CONA_APPLICATION_TYPE_SIS.
        //	
        //	If the Application file type is jar, the CONAPI_APPLICATION_JAVA 
        //	structure must be used. The iAppicationType parameter's 
        //	value must be CONA_APPLICATION_TYPE_JAVA.
        //
        // Parameters:
        //	hFSHandle			[in] File System handle
        //	iApplicationType	[in] Used struct type: CONA_APPLICATION_TYPE_SIS or 
        //											   CONA_APPLICATION_TYPE_JAVA
        //	pApplicationStruct	[in] Pointer to CONAPI_APPLICATION_SIS or 
        //							 CONAPI_APPLICATION_JAVA struct.
        //	iOptions			[in] Options: 
        //		CONA_DEFAULT_FOLDER: Copies the application to the device's default 
        //		application folder automatically and starts the device's installer 
        //		(if required to do so).Target path or current folder is not used.  
        //		CONA_OVERWRITE:	Overwrites the application file if it already 
        //		exists in the target folder.
        //
        //	pstrSourcePath		[in] Source folder path on the PC. The value must be NULL, 
        //							 if path is given with file name(s) in Application structure.
        //	pstrTargetPath   	[in] Target folder.If NULL, current folder is used.
        //							 If CONA_DEFAULT_FOLDER is used,Application will 
        //							 be installed to device's default application folder. 
        //
        // Return values:
        // CONA_OK
        // ECONA_INVALID_HANDLE
        // ECONA_INVALID_PARAMETER
        // ECONA_CONNECTION_BUSY
        // ECONA_CONNECTION_LOST
        // ECONA_INVALID_DATA_DEVICE
        // ECONA_MEMORY_FULL
        // ECONA_CURRENT_FOLDER_NOT_FOUND
        // ECONA_FOLDER_PATH_TOO_LONG
        // ECONA_FOLDER_NOT_FOUND
        // ECONA_FOLDER_NO_PERMISSION_ON_PC
        // ECONA_FILE_TOO_BIG_DEVICE
        // ECONA_FILE_NAME_INVALID

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91麻豆精品国产91久久久使用方法 | 欧美日韩一区二区三区高清| 国产成人欧美日韩在线电影| 国产在线一区二区综合免费视频| 蜜臀国产一区二区三区在线播放| 成人教育av在线| 亚洲久本草在线中文字幕| 国产天堂亚洲国产碰碰| 中文字幕国产一区二区| 亚洲色图另类专区| 亚洲精品视频在线观看网站| 一区二区三区四区中文字幕| 五月婷婷综合网| 日韩精品一二三区| 国产一级精品在线| 成人av资源站| 欧美日韩视频不卡| 精品奇米国产一区二区三区| 久久久久久久综合狠狠综合| 亚洲欧洲在线观看av| 一区二区三区四区视频精品免费| 丝袜诱惑亚洲看片| 国产一区二区毛片| 日韩一区二区高清| 91精品国产入口在线| 欧美一区二区在线播放| 精品国产一区久久| 综合婷婷亚洲小说| 日韩av在线播放中文字幕| 久久国产成人午夜av影院| 国产一区在线看| 在线亚洲一区二区| 精品国产1区二区| 亚洲精品国产品国语在线app| 午夜国产精品一区| 成人午夜大片免费观看| 91精品国产综合久久国产大片| 久久精品夜色噜噜亚洲aⅴ| 亚洲美女一区二区三区| 久草精品在线观看| 成人激情免费电影网址| 在线视频一区二区三| 精品久久久久香蕉网| 一区二区三区毛片| 国产91精品精华液一区二区三区| 在线成人午夜影院| 国产精品高潮久久久久无| 美日韩黄色大片| 在线观看网站黄不卡| 国产人成亚洲第一网站在线播放 | 亚洲最新视频在线观看| 国产精品一区二区在线播放 | 日本一区二区三区在线不卡| 亚洲成a人v欧美综合天堂下载| 成人免费av资源| 久久蜜桃av一区二区天堂 | 精品视频在线免费| 亚洲欧洲无码一区二区三区| 亚洲人吸女人奶水| 精品亚洲免费视频| 欧美一级黄色片| 爽好多水快深点欧美视频| 色综合天天做天天爱| 中文在线资源观看网站视频免费不卡| 天天综合天天综合色| 欧美中文一区二区三区| 亚洲免费资源在线播放| 成人午夜精品在线| 亚洲国产高清aⅴ视频| 国产成人午夜高潮毛片| 久久综合久久99| 激情文学综合插| 日韩美女一区二区三区四区| 蜜臀精品久久久久久蜜臀| 欧美一区二区三区播放老司机| 亚洲大片免费看| 欧美日韩一二区| 亚洲成人激情自拍| 国产精品18久久久久久久久久久久 | 亚洲四区在线观看| jlzzjlzz欧美大全| 亚洲男同1069视频| 欧美在线视频日韩| 日韩黄色片在线观看| 日韩一区二区精品| 国产一区二区三区| 综合久久久久综合| 欧美在线|欧美| 日韩av电影免费观看高清完整版 | 男男gaygay亚洲| 国产精品久久三| 一本大道综合伊人精品热热| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 日本成人中文字幕在线视频| 精品日韩欧美在线| 国产激情一区二区三区| 中文字幕日韩欧美一区二区三区| 99久久精品国产一区| 亚洲午夜电影网| 日韩免费看的电影| 波多野结衣亚洲| 丝袜美腿亚洲一区二区图片| 日韩精品一区二区三区在线 | 久久草av在线| 91精品国产综合久久香蕉的特点| 免费高清成人在线| 国产精品青草久久| 欧美日韩精品福利| 国产综合色在线| 亚洲人成影院在线观看| 欧美日韩国产高清一区| 精品一区二区影视| 亚洲婷婷国产精品电影人久久| 欧美亚洲国产一区二区三区| 激情综合一区二区三区| 亚洲精品视频自拍| 91精品婷婷国产综合久久竹菊| 国产一区二区在线看| 亚洲一区在线电影| 久久亚区不卡日本| 欧美三区在线观看| www.欧美.com| 老色鬼精品视频在线观看播放| 国产精品激情偷乱一区二区∴| 欧美一区二区三区成人| 激情综合色丁香一区二区| 中文一区一区三区高中清不卡| 欧美性极品少妇| 99在线热播精品免费| 精品影院一区二区久久久| 亚洲国产一区视频| 中文字幕亚洲不卡| 国产欧美视频一区二区| 欧美一区二区三区喷汁尤物| 91久久线看在观草草青青| 成人午夜激情影院| 国产精品一二三四五| 久久国产精品一区二区| 亚洲国产成人va在线观看天堂| 综合久久一区二区三区| 国产精品乱人伦| 中文字幕欧美激情一区| 久久久.com| 国产日韩高清在线| 久久久另类综合| 国产亚洲精品免费| 国产亚洲欧洲997久久综合 | 91在线视频在线| 美国av一区二区| 青青草国产精品亚洲专区无| 亚洲香肠在线观看| 亚洲妇熟xx妇色黄| 亚洲国产三级在线| 日日夜夜精品视频免费 | 精品国产乱码久久久久久老虎| 7777精品伊人久久久大香线蕉经典版下载 | 亚洲自拍偷拍av| 美女一区二区三区| 国产一区二区视频在线播放| 国产一区二区福利| 成人午夜私人影院| 色婷婷狠狠综合| 欧美肥妇毛茸茸| 精品久久久久久久久久久久包黑料| 26uuu国产一区二区三区| 国产日产欧美一区二区三区| 国产精品视频在线看| 免费看日韩精品| 激情综合色播激情啊| 成人教育av在线| 在线精品视频免费观看| 欧美日韩成人综合在线一区二区 | 99re6这里只有精品视频在线观看| 99久久伊人精品| 欧美日韩电影一区| 国产视频一区二区在线| 亚洲色图都市小说| 日韩电影一区二区三区| 国产乱人伦偷精品视频免下载| 成人污污视频在线观看| 欧美无人高清视频在线观看| 91精品久久久久久久91蜜桃| 国产欧美一区二区三区沐欲| 一区二区三区中文免费| 婷婷开心久久网| 成人永久aaa| 欧美男生操女生| 国产日韩v精品一区二区| 亚洲v日本v欧美v久久精品| 国产麻豆精品95视频| 在线观看精品一区| 久久久亚洲高清| 北条麻妃一区二区三区| 国产中文一区二区三区| 91黄色免费网站| 26uuu精品一区二区在线观看| 一区二区三区视频在线看| 国产精品69久久久久水密桃| 欧美人妇做爰xxxⅹ性高电影 | 亚洲人成在线播放网站岛国|