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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? conafilesystem.vb

?? 以前做NOKIA手機(jī)與PC通信時(shí)所參考的源代碼,里面包括兩個(gè)程序,一個(gè)是手機(jī)文件夾瀏覽源碼,另一個(gè)手機(jī)SIS安裝程序.
?? VB
?? 第 1 頁 / 共 2 頁
字號(hào):
'Filename    : CONAFileSystem.vb
'Part of     : Connectivity API VB.NET examples
'Description : Connectivity API data definitions, converted from CONAFileSystem.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.

Option Strict Off
Option Explicit On 

Imports System.Runtime.InteropServices

Module CONAFileSystem
    '=========================================================
    ' File System API versions 
    '
    Public Const FSAPI_VERSION_30 As Short = 30
    Public Const FSAPI_VERSION_31 As Short = 31
    Public Const FSAPI_VERSION_32 As Short = 32

    '=========================================================
    '
    '=========================================================
    ' FSAPI_Initialize
    '
    ' Description:
    '	FSAPI_Initialize initializes the API. This must be called once and before any other FSAPI call!
    '  It's not allowed to call this function like this 
    '		FSAPI_Initialize(FSAPI_GetAPIVersion(), NULL);
    '	You must call it like this
    '		FSAPI_Initialize(FSAPI_VERSION_32, NULL);
    '
    ' Parameters:
    '	dwAPIVersion	[in] FSAPI version requested.
    '	pdwParam		[in] Reserved for future use. Must be NULL.
    '
    ' Return values:
    '
    Public Declare Function FSAPI_Initialize Lib "ConnAPI" (ByVal iAPIVersion As Integer, ByVal pdwParam As IntPtr) As Integer

    '=========================================================
    '
    '=========================================================
    ' FSAPI_Terminate
    '
    ' Description:
    '	FSAPI_Terminate terminates the API. This must be called once and as the last FSAPI call!
    '
    ' Parameters:
    '	pdwParam		[in] Reserved for future use. Must be NULL.
    '
    ' Return values:
    '
    Public Declare Function FSAPI_Terminate Lib "ConnAPI" (ByVal pdwParam As IntPtr) As Integer

    '=========================================================
    '
    '=========================================================
    ' FSAPI_GetAPIVersion
    '
    ' Description:
    '	Returns currently installed version of this FSAPI.
    '
    ' Parameters:
    '
    ' Return values:
    '	API version number. 
    '
    Public Declare Function FSAPI_GetAPIVersion Lib "ConnAPI" () As Integer


    '///////////////////////////////////////////////////////////
    ' ConnectivityAPI File System functions
    '///////////////////////////////////////////////////////////

    '=========================================================
    ' CONAOpenFS
    '
    ' Description:
    '	CONAOpenFS opens a file system (FS) connection to the target 
    '	device. The function sets the FS Connection handle, which 
    '	identifies different client connections. It will be placed 
    '	into the given pointer. 
    '	
    '	If the media type is API_MEDIA_ALL, the ServiceLayer selects 
    '	the used media type automatically by applying the following rule:
    '	If there is an open FS connection to the device, it will be used. 
    '	Otherwise the ServiceLayer tries to open the FS connection in the 
    '	following order: USB, Seria, Irda and BT (if the device is 
    '	connected via medias). The function also sets the DeviceID, 
    '	which can be used to identify the used media type.
    '	
    '	If the Serial Number is an empty string, the function tries to 
    '	open the FS connection by using the piDeviceID parameter. The 
    '	piMedia parameter is not used in the exemplary case.
    '
    ' Parameters:
    '	pstrSerialNumber [in]     The device's serial number, which must be set.
    '	piMedia		     [in,out] In: Media type, which defines the target
    '					          media for the Device's FS connection.
    '							  Out:If the value is API_MEDIA_ALL, the 
    '							  target media is selected automatically 
    '							  and the used media type is returned.
    '	phFSHandle		 [out]	  Handle to the opened FS connection
    '	piDeviceID		 [in,out] In: Device ID. Used only when the Serial 
    '							  number is empty string.
    '							  Out: Returned Device ID value of the connected device.
    '
    ' Return values:
    ' CONA_OK
    ' ECONA_DEVICE_NOT_FOUND
    ' ECONA_NO_CONNECTION_VIA_MEDIA
    ' ECONA_NOT_SUPPORTED_DEVICE
    ' ECONA_CONNECTION_FAILED
    ' ECONA_CONNECTION_BUSY
    ' ECONA_CONNECTION_LOST
    ' ECONA_FAILED_TIMEOUT
    ' ECONA_INVALID_POINTER
    ' ECONA_NOT_INITIALIZED
    ' ECONA_NOT_SUPPORTED_MANUFACTURER
    ' ECONA_NOT_ENOUGH_MEMORY
    ' ECONA_UNKNOWN_ERROR
    '
    Public Declare Function CONAOpenFS Lib "ConnAPI" (<MarshalAs(UnmanagedType.LPWStr)> ByVal pstrSerialNumber As String, ByRef piMedia As Integer, ByRef phFSHandle As Integer, ByRef piDeviceID As Integer) As Integer
    '=========================================================

    '=========================================================
    ' CONACloseFS
    '
    ' Description:
    '	CONACloseFS closes the given file system connection.
    '
    ' Parameters:
    '	hFSHandle	[in] Existing file system handle
    '
    ' Return values:
    '	CONA_OK
    '	ECONA_INVALID_HANDLE
    '	ECONA_NOT_INITIALIZED
    '	ECONA_UNKNOWN_ERROR
    '
    Public Declare Function CONACloseFS Lib "ConnAPI" (ByVal hFSHandle As Integer) As Integer
    '=========================================================

    '=========================================================
    ' CONARegisterFSNotifyCallback
    '
    ' Description:
    ' CONARegisterFSNotifyCallback registers or unregisters the 
    ' callback function for the file functions' status notifications.
    ' 
    ' During file operations, the connectionAPI calls this function 
    ' with the parameter's state (0-100%), connection handle, and 
    ' operation code.

    '
    ' Parameters:
    '	hFSHandle	[in] File System handle
    '	iState		[in] Register flag:
    '					  API_REGISTER:   Registers a callback function
    '					  API_UNREGISTER: Unregisters a callback function
    '	pFSNotify	[in] Pointer to a function.
    '
    ' Return values:
    '	CONA_OK
    '	ECONA_INVALID_HANDLE
    '	ECONA_INVALID_POINTER
    '	ECONA_INVALID_PARAMETER
    '	ECONA_NOT_INITIALIZED
    '	ECONA_UNKNOWN_ERROR
    '
    Public Declare Function CONARegisterFSNotifyCallback Lib "ConnAPI" (ByVal hFSHandle As Integer, ByVal iState As Integer, ByVal pFSNotify As FSNotifyCallbackDelegate) As Integer
    '=========================================================

    '=========================================================
    ' CONARefreshDeviceMemoryValues
    '
    ' Description:
    '	CONARefreshDeviceMemoryValues refreshes the memory values 
    ' from the device. The function caches the memory values, so 
    ' it must be called if it is required to get the latest information.
    '
    ' Parameters:
    '	hFSHandle	[in] File system handle
    '
    ' Return values:
    '	CONA_OK
    '	ECONA_INVALID_HANDLE
    '	ECONA_CONNECTION_BUSY
    '	ECONA_CONNECTION_LOST
    '	ECONA_INVALID_DATA_DEVICE
    '	ECONA_CANCELLED
    '	ECONA_FAILED_TIMEOUT
    '	ECONA_UNKNOWN_ERROR_DEVICE
    '	ECONA_NOT_INITIALIZED
    '	ECONA_UNKNOWN_ERROR
    '
    Public Declare Function CONARefreshDeviceMemoryValues Lib "ConnAPI" (ByVal hFSHandle As Integer) As Integer
    '=========================================================

    '=========================================================
    ' CONAGetMemoryTypes
    '
    ' Description:
    ' CONAGetMemoryTypes receives all memory types that currently 
    ' exist in the device. The format of its string is 
    ' "Memory type string" comma "next Memory type string". An 
    ' example of a string is "DEV,MMC,APPL". 
    ' 
    ' The device can include different memory types. For example, 
    ' the memory types can be "DEV" (device memory), "MMC" 
    ' (memory card), or "APPL" (device special memory).	
    '
    ' Parameters:
    '	hFSHandle			[in]  File system handle.
    '	ppstrMemoryTypes	[out] Memory types.
    '
    ' Return values:
    '	CONA_OK
    '	ECONA_INVALID_HANDLE
    '	ECONA_INVALID_POINTER
    '	ECONA_NOT_SUPPORTED_DEVICE
    '	ECONA_NOT_INITIALIZED
    '	ECONA_UNKNOWN_ERROR
    '
    Public Declare Function CONAGetMemoryTypes Lib "ConnAPI" (ByVal hFSHandle As Integer, <MarshalAs(UnmanagedType.LPWStr)> ByRef ppstrMemoryTypes As String) As Integer
    '=========================================================

    '=========================================================
    ' CONAGetMemoryValues
    '
    ' Description:
    '	CONAGetDeviceMemory returns info about the given device memory type.
    '
    ' Parameters:
    '	hFSHandle		[in]  File System handle.
    '	pstrMemoryType	[in]  Inquired device memory.E.g. "DEV", "MMC", 
    '                        or "APPL".If the value is NULL, the used value is "DEV".
    '	pdlFree			[out] Pointer to the variable receiving the 
    '						  information on the amount of free memory.
    '						  If not available, the value is -1.
    '	pdlTotal		[out] Pointer to the variable receiving 
    '						  the information on the total memory.
    '						  If not available, the value is -1.
    '	pdlUsed			[out] Pointer to the variable receiving 
    '						  the information on the used memory.
    '						  If not available, the value is -1.
    '
    ' Return values:
    '	CONA_OK
    '	ECONA_INVALID_HANDLE
    '	ECONA_INVALID_POINTER
    '	ECONA_INVALID_PARAMETER
    '	ECONA_NOT_SUPPORTED_DEVICE
    '	ECONA_NOT_INITIALIZED
    '	ECONA_UNKNOWN_ERROR
    '
    Public Declare Function CONAGetMemoryValues Lib "ConnAPI" (ByVal hFSHandle As Integer, <MarshalAs(UnmanagedType.LPWStr)> ByVal pstrMemoryType As String, ByRef pdlFree As Int64, ByRef pdlTotal As Int64, ByRef pdlUsed As Int64) As Integer
    '=========================================================

    '=========================================================
    ' CONASetCurrentFolder
    '
    ' Description:
    ' CONASetCurrentFolder sets the device's current folder. All 
    ' file and folder operations with a relative path reference 
    ' will use this value. After the connection is established, 
    ' the default value is the device's root-folder. Only backslashes 
    ' ("\") are permissible folder separators.
    ' 
    ' Any other FS operation does not change the current folder. 
    ' If CONASetCurrentFolder fails, the currect folder is not changed. 
    '
    ' Parameters:
    '	hFSHandle	[in] File System handle
    '	pstrPath	[in] Name of the new current folder. Its value may 
    '					 be a relative or absolute reference. If the 
    '					 absolute path is used, the first two characters 
    '					 must be backslashes "\\". If you set the current 
    '					 folder to the root-folder, the path must include 
    '					 only two backslash characters "\\".
    '					 If the current folder is required to move sub folder, 
    '					 the path must not include any backslashes.
    '					 If the current folder is required to change the 
    '					 parent folder, the first two characters must be dots
    '					 and the third character must be a backslash "..\". 
    '
    ' Return values:
    '	CONA_OK
    '	ECONA_INVALID_HANDLE
    '	ECONA_INVALID_PARAMETER
    '	ECONA_CONNECTION_BUSY
    '	ECONA_CONNECTION_LOST
    '	ECONA_CURRENT_FOLDER_NOT_FOUND
    '	ECONA_FOLDER_PATH_TOO_LONG
    '	ECONA_FOLDER_NAME_INVALID_DEVICE
    '	ECONA_FOLDER_NO_PERMISSION

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产亚洲一区二区三区在线观看| 欧美美女一区二区| 久久精品网站免费观看| 激情国产一区二区| 日韩欧美国产综合| 国内成人精品2018免费看| 精品国精品自拍自在线| 国产在线精品一区二区夜色| 久久青草国产手机看片福利盒子| 国产一区二区三区最好精华液| 久久免费的精品国产v∧| 国产精品白丝jk白祙喷水网站| 久久久天堂av| gogogo免费视频观看亚洲一| 亚洲欧美日韩综合aⅴ视频| 91久久精品一区二区三区| 一区二区三区日本| 欧美日韩一区二区三区不卡| 免费亚洲电影在线| 国产亚洲视频系列| 99re这里都是精品| 五月天激情综合| xvideos.蜜桃一区二区| 成人av影视在线观看| 亚洲一二三四在线观看| 日韩视频免费直播| 成人做爰69片免费看网站| 亚洲一卡二卡三卡四卡无卡久久| 日韩欧美美女一区二区三区| 成人黄色一级视频| 亚洲h在线观看| 精品国产精品网麻豆系列 | 欧美影院一区二区| 麻豆极品一区二区三区| 国产精品久久久久久久久免费相片 | 一区二区成人在线视频| 日韩欧美国产成人一区二区| 91丝袜呻吟高潮美腿白嫩在线观看| 日韩电影网1区2区| 中文字幕日韩欧美一区二区三区| 91精品婷婷国产综合久久竹菊| 不卡在线观看av| 蜜臀av一区二区在线免费观看| 日韩理论片在线| 精品国产露脸精彩对白| 精品污污网站免费看| 国产凹凸在线观看一区二区| 青娱乐精品在线视频| 亚洲色图欧美偷拍| 久久精品人人做人人爽人人| 56国语精品自产拍在线观看| 色综合中文字幕国产| 免费成人结看片| 亚洲丰满少妇videoshd| 亚洲色图丝袜美腿| 国产精品私房写真福利视频| 精品奇米国产一区二区三区| 7777精品伊人久久久大香线蕉 | 成人精品国产一区二区4080| 极品少妇一区二区| 日韩精品一级中文字幕精品视频免费观看 | 最新日韩av在线| 欧美精品一区二区久久婷婷| 欧美另类久久久品| 欧美在线观看视频一区二区三区| 不卡一卡二卡三乱码免费网站| 狠狠色狠狠色综合系列| 五月天欧美精品| 午夜精品一区二区三区电影天堂| 亚洲综合色视频| 综合久久国产九一剧情麻豆| 国产精品久久毛片| 国产精品情趣视频| 国产精品你懂的在线| 中文字幕成人av| 久久精品视频免费观看| 久久嫩草精品久久久久| 久久网站最新地址| 久久先锋影音av鲁色资源| 精品国产乱码久久久久久久| 欧美精品一区二区久久久| 精品国精品国产| 久久只精品国产| 中文字幕第一区第二区| 最近中文字幕一区二区三区| 一区二区三区在线观看国产| 亚洲一区二区在线免费看| 亚洲国产精品一区二区www在线 | 国产精品丝袜久久久久久app| 国产亚洲精久久久久久| 国产精品欧美久久久久一区二区| 亚洲欧洲日产国码二区| 亚洲欧美偷拍三级| 亚洲自拍欧美精品| 日本成人中文字幕在线视频 | 国产精品亚洲综合一区在线观看| 国产91清纯白嫩初高中在线观看| 成人的网站免费观看| 色综合久久88色综合天天| 欧美日韩综合不卡| 26uuu精品一区二区| 国产精品久久久99| 亚洲一区二区三区四区在线免费观看| 天天综合天天做天天综合| 精品一区二区影视| 99re这里只有精品视频首页| 欧美日韩国产123区| 日韩欧美国产精品一区| 中文字幕一区在线| 婷婷亚洲久悠悠色悠在线播放| 久久国产夜色精品鲁鲁99| 国产iv一区二区三区| 欧美在线高清视频| 久久亚洲影视婷婷| 亚洲一区二区三区激情| 国产一区二区三区视频在线播放| 99re视频精品| 精品三级在线看| 一区二区不卡在线视频 午夜欧美不卡在| 日本免费新一区视频| 波多野结衣中文一区| 91精品国产aⅴ一区二区| 欧美精彩视频一区二区三区| 亚洲国产精品久久不卡毛片 | 成人美女在线视频| 欧美日韩高清影院| 国产精品毛片a∨一区二区三区| 婷婷久久综合九色国产成人| 国产精品888| 7777精品伊人久久久大香线蕉完整版 | 久久国产精品色| 一本一道久久a久久精品综合蜜臀| 欧美一区二区在线视频| 国产精品传媒在线| 狠狠色丁香九九婷婷综合五月| 色婷婷综合激情| 国产无人区一区二区三区| 石原莉奈在线亚洲三区| a美女胸又www黄视频久久| 日韩欧美一级在线播放| 亚洲福利一二三区| 色综合久久综合中文综合网| 久久久综合激的五月天| 日日噜噜夜夜狠狠视频欧美人| 色噜噜狠狠一区二区三区果冻| 久久综合999| 蜜臀久久99精品久久久久宅男| 在线视频观看一区| 国产精品久久久久影院色老大| 激情综合色综合久久综合| 欧美日韩国产综合一区二区| 亚洲视频免费在线| 成人黄页毛片网站| 久久久久久久电影| 精品一区二区三区免费| 91麻豆精品91久久久久同性| 性欧美疯狂xxxxbbbb| 91福利资源站| 亚洲精品国产一区二区精华液 | 久久精品欧美日韩| 九九视频精品免费| 欧美电视剧在线观看完整版| 视频一区欧美日韩| 欧美精品18+| 婷婷综合久久一区二区三区| 欧美日韩一区二区三区四区五区 | 欧美日韩精品综合在线| 亚洲一区二区在线播放相泽| 在线观看中文字幕不卡| 一区二区三区毛片| 欧美视频中文一区二区三区在线观看| 亚洲精品国久久99热| 欧美艳星brazzers| 午夜精品久久久久久久久久 | 日韩亚洲欧美综合| 日本中文字幕一区二区有限公司| 欧美一区国产二区| 麻豆久久久久久久| 久久久噜噜噜久久人人看| 丰满少妇在线播放bd日韩电影| 亚洲国产电影在线观看| 成人av免费在线播放| 亚洲欧美日韩久久精品| 欧美主播一区二区三区美女| 亚洲综合清纯丝袜自拍| 欧美一区二区性放荡片| 国产一区二区在线观看视频| 国产欧美日本一区视频| 91在线观看成人| 亚洲综合免费观看高清完整版在线 | 免费一区二区视频| 亚洲精品一区二区三区在线观看| 国产高清不卡一区| 亚洲色图视频网| 欧美一区二区视频在线观看2022| 国产真实乱对白精彩久久| 亚洲视频在线一区| 欧美日韩aaaaa| 国产高清久久久| 亚洲在线视频一区|