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

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

?? dmapidefinitions.vb

?? 以前做NOKIA手機與PC通信時所參考的源代碼,里面包括兩個程序,一個是手機文件夾瀏覽源碼,另一個手機SIS安裝程序.
?? VB
?? 第 1 頁 / 共 2 頁
字號:
    '	time period  (240/100) is 2.4 seconds.
    '	If the function state is 100 and any device does not have found during 
    '	this (dwSearchTime) time the CONASearchDevices function fails with the 
    '	error code ECONA_FAILED_TIMEOUT.
    '
    ' Parameters
    '	dwState				[in] Function state (0-100%).
    '	pConnInfoStructure	[in] Reserved for future use, the value is NULL.
    '
    ' Return values
    ' The Connectivity API-user must return the CONA_OK value. If the callback 
    ' function returns the error code ECONA_CANCELLED to the Connectivity API, 
    ' the CONASearchDevices function will be cancelled with the error code ECONA_CANCELLED.
    '
    ' Type definition: 
    Public Delegate Function SearchCallbackDelegate(ByVal iState As Integer, ByVal pConnInfoStructure As IntPtr) As Integer

    '================================
    ' File system API definitions
    '===============================

    'Used for changing current folder:
    Public Const GO_TO_ROOT_FOLDER As String = "\\"
    Public Const GO_TO_PARENT_FOLDER As String = "..\"
    Public Const FOLDER_SEPARATOR As String = "\"

    'Options for CONADeleteFolder:
    Public Const CONA_DELETE_FOLDER_EMPTY As Integer = &H0
    Public Const CONA_DELETE_FOLDER_WITH_FILES As Integer = &H1

    'Direction options for CONACopyFile and CONAMoveFile:
    Public Const CONA_DIRECT_PHONE_TO_PC As Integer = &H2
    Public Const CONA_DIRECT_PC_TO_PHONE As Integer = &H4
    Public Const CONA_DIRECT_PHONE_TO_PHONE As Integer = &H8        ' Not used at the moment.

    'Other options for CONACopyFile and CONAMoveFile:
    Public Const CONA_OVERWRITE As Integer = &H10
    Public Const CONA_RENAME As Integer = &H20           ' Used only with CONACopyFile
    Public Const CONA_TRANSFER_ALL As Integer = &H40     ' Not used at the moment.

    'Options for CONAFindBegin:
    Public Const CONA_FIND_USE_CACHE As Integer = &H80

    'Attribute defines for CONAPI_FOLDER_INFO and CONAPI_FILE_INFO structures:
    Public Const CONA_FPERM_READ As Integer = &H100          'Both structure
    Public Const CONA_FPERM_WRITE As Integer = &H200         'Both structure
    Public Const CONA_FPERM_DELETE As Integer = &H400        'Both structure
    Public Const CONA_FPERM_FOLDER As Integer = &H800        'Only for CONAPI_FOLDER_INFO
    Public Const CONA_FPERM_DRIVE As Integer = &H1000        'Only for CONAPI_FOLDER_INFO
    Public Const CONA_FPERM_HIDDEN As Integer = &H2000       ' Only for CONAPI_FOLDER_INFO2
    Public Const CONA_FPERM_ROOT As Integer = &H4000         ' Only for CONAPI_FOLDER_INFO2

    'Options for CONAGetFolderInfo
    Public Const CONA_GET_FOLDER_INFO As Integer = &H1                    ' Gets target folder info
    Public Const CONA_GET_FOLDER_CONTENT As Integer = &H2                 ' Gets target folder info and contents
    Public Const CONA_GET_FOLDER_AND_SUB_FOLDERS_CONTENT As Integer = &H4 ' Gets target folder info, content and sub folder(s) contents also
    Public Const CONA_COMPARE_AND_UPDATE_IF_NEEDED As Integer = &H100     ' Compare exist folder content. If change has happened, updates content
    '                                                                       and returns CONA_OK_UPDATED. If no change, returns CONA_OK.

    Public Const CONA_DEFAULT_FOLDER As Integer = &H10000                'Used only with CONAInstallApplication
    Public Const CONA_INFORM_IF_USER_ACTION_NEEDED As Integer = &H20000  'Used only with CONAInstallApplication
    Public Const CONA_WAIT_THAT_USER_ACTION_IS_DONE As Integer = &H40000 'Used only with CONAInstallApplication

    Public Const CONA_USE_IF_NOTICATION As Integer = &H1000000      ' Used only with CONAReadFileInBlocks and CONAWriteFileInBlocks
    Public Const CONA_USE_CB_NOTICATION As Integer = &H2000000      ' Used only with CONAReadFileInBlocks and CONAWriteFileInBlocks
    Public Const CONA_NOT_SET_FILE_DETAILS As Integer = &H4000000   ' Used only with CONAReadFileInBlocks
    Public Const CONA_ALL_DATA_SENT As Integer = &H8000000          ' Used only with IFSAPIBlockNotify and CONABlockDataCallbackFunction

    Public Function CONA_IS_ALL_DATA_RECEIVED(ByVal iState As Integer) As Integer 'Used only with IFSAPIBlockNotify and CONABlockDataCallbackFunction
        CONA_IS_ALL_DATA_RECEIVED = ((iState >> 27) And &H1)
    End Function

    ' ----------------------------------------------------
    ' Folder info structure
    Public Structure CONAPI_FOLDER_INFO
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrName As String   ' Folder or Drive name
        Dim iAttributes As Integer   ' Folder or Drive type and permission 
        Dim tFolderTime As ComTypes.FILETIME   ' Folder time
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrLabel As String   ' Drive lable name 
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrMemoryType As String ' Folder or Drive memory type
    End Structure

    ' File info structure
    Public Structure CONAPI_FILE_INFO
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrName As String   ' File name
        Dim iAttributes As Integer  ' File permission
        Dim tFileTime As ComTypes.FILETIME   ' File modified time
        Dim iFileSize As Integer    ' File size
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrMIMEType As String  ' File MIME type
    End Structure

    ' Folder info structure
    Public Structure CONAPI_FOLDER_INFO2
        Dim iSize As Integer        ' Size of struct
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrName As String     ' Folder or Drive name
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrLocation As String    ' Absolute location path to folder or drive
        Dim iAttributes As Integer      ' Folder or Drive type and permission 
        Dim tFolderTime As ComTypes.FILETIME     ' Folder time
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrLabel As String     ' Drive lable name 
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrMemoryType As String    ' Folder or Drive memory type
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrID As String      ' Identification ID
        Dim dlFreeMemory As Long     ' Free memory in drive
        Dim dlTotalMemory As Long     ' Total memory in drive
        Dim dlUsedMemory As Long    ' Used memory in drive
        Dim iContainFiles As Integer      ' Number of files in target folder or drive
        Dim iContainFolders As Integer  ' Number of folders in target folder or drive
        Dim dlTotalSize As Long    ' Size of folder content (including content of subfolders)
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrValue As String    ' Reserved for future
    End Structure

    ' Folder content structure
    Public Structure CONAPI_FOLDER_CONTENT
        Dim iSize As Integer       ' Size of struct
        ' CONAPI_FOLDER_INFO2*	pFolderInfo;				' Folder info struct
        Dim pFolderInfo As IntPtr
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrPath As String      ' Absolute path of sub files and sub folders
        Dim iNumberOfFileInfo As Integer        ' Number of file structs
        ' CONAPI_FILE_INFO*		pFileInfo;					' File structs
        Dim pFileInfo As IntPtr
        Dim iNumberOfSubFolderContent As Integer      ' Number of file structs
        ' CONAPI_FOLDER_CONTENT*  pSubFolderContent;			' File structs
        Dim pSubFolderContent As IntPtr
        ' CONAPI_FOLDER_CONTENT*	pParentFolder;				' Pointer to the parent folder content struct
        Dim pParentFolder As IntPtr
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrValue As String      ' Reserved for future	
    End Structure

    ' ----------------------------------------------------
    ' FSNotifyCallbackDelegate function:
    '
    ' ----------------------------------------------------
    '	This is the function prototype of the callback method
    '
    Public Delegate Function FSNotifyCallbackDelegate(ByVal iOperation As Integer, ByVal iStatus As Integer, ByVal iTransferredBytes As Integer, ByVal iAllBytes As Integer) As Integer

    ' ----------------------------------------------------
    ' FSFolderInfoCallbackDelegate function:
    '
    ' ----------------------------------------------------
    '	This is the function prototype of the callback method
    '
    ' typedef DWORD (CALLBACK *PFN_CONA_FS_FOLDERINFO_CALLBACK)(LPCONAPI_FOLDER_INFO2 pFolderInfo);
    Public Delegate Function FSFolderInfoCallbackDelegate(ByVal pFolderInfo As IntPtr) As Integer

    ' ----------------------------------------------------
    ' CONABlockDataCallbackFunction function:
    '
    ' Callback function prototype:
    ' typedef DWORD (CALLBACK *PFN_CONA_FS_BLOCKDATA_CALLBACK)(
    '								DWORD dwFSFunction,
    '								DWORD *pdwState,
    '								const DWORD dwSizeOfFileDataBlockBuffer,
    '								DWORD *pdwFileDataBlockLenght,
    '								unsigned char* pFileDataBlock);
    Public Delegate Function FSBlockDataCallbackDelegate(ByVal iFSFunction As Integer, ByRef iState As Integer, ByVal iSizeOfFileDataBlockBuffer As Integer, ByRef iFileDataBlockLenght As Integer, ByVal pFileDataBlock As IntPtr) As Integer


    ' ----------------------------------------------------
    ' FSFunction values:
    Public Const CONARefreshDeviceMemoryValuesNtf As Integer = &H1
    Public Const CONASetCurrentFolderNtf As Integer = &H2
    Public Const CONAFindBeginNtf As Integer = &H4
    Public Const CONACreateFolderNtf As Integer = &H8
    Public Const CONADeleteFolderNtf As Integer = &H10
    Public Const CONARenameFolderNtf As Integer = &H20
    Public Const CONAGetFileInfoNtf As Integer = &H40
    Public Const CONADeleteFileNtf As Integer = &H80
    Public Const CONAMoveFileNtf As Integer = &H100
    Public Const CONACopyFileNtf As Integer = &H200
    Public Const CONARenameFileNtf As Integer = &H400
    Public Const CONAReadFileNtf As Integer = &H800
    Public Const CONAWriteFileNtf As Integer = &H1000
    Public Const CONAConnectionLostNtf As Integer = &H2000
    Public Const CONAInstallApplicationNtf As Integer = &H4000
    Public Const CONAConvertFileNtf As Integer = &H8000
    Public Const CONAGetFolderInfoNtf As Integer = &H10000
    Public Const CONAListApplicationNtf As Integer = &H20000
    Public Const CONAUninstallApplicationNtf As Integer = &H40000
    Public Const CONAReadFileInBlocksNtf As Integer = &H80000
    Public Const CONAWriteFileInBlocksNtf As Integer = &H100000
    Public Const CONAMoveFolderNtf As Integer = &H200000
    Public Const CONACopyFolderNtf As Integer = &H400000
    Public Const CONAGetFileMetadataNtf As Integer = &H800000

    ' The next function do not send notifications:
    '	CONAOpenFS					
    '	CONACloseFS				
    '	CONARegisterFSNotifyCallback
    '	CONAGetMemoryTypes 			
    '	CONAGetMemoryValues			
    '	CONAGetCurrentFolder	
    '	CONAFindNextFolder		
    '	CONAFindNextFile		
    '	CONAFindEnd					
    '	CONACancel				

    ' Possible error codes value in dwStatus parameter when 
    ' FSFunction value is CONAConnectionLost:
    '   ECONA_CONNECTION_LOST
    '   ECONA_CONNECTION_REMOVED
    '   ECONA_CONNECTION_FAILED
    '   ECONA_SUSPEND

    ' ----------------------------------------------------
    ' CONAMediaCallback
    '
    '	This is the function prototype of the callback method
    '
    '	DWORD CALLBACK CONAMediaCallback(DWORD  dwStatus, API_MEDIA* pMedia);

    Public Delegate Function MediaCallbackDelegate(ByVal iStatus As Integer, ByVal pMedia As IntPtr) As Integer
    ' ----------------------------------------------------
    ' Media info structure
    Public Structure API_MEDIA
        Dim iSize As Integer
        Dim iMedia As Integer
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrDescription As String
        Dim iState As Integer
        Dim iOptions As Integer
        Dim iMediaData As Integer
        <MarshalAs(UnmanagedType.LPWStr)> Dim pstrID As String
    End Structure

    'Synchronication support:
    Public Const API_MEDIA_ACTIVE As Integer = &H1            ' Media is active.
    Public Const API_MEDIA_NOT_ACTIVE As Integer = &H2        ' Media is not active. 
    Public Const API_MEDIA_IC_SUPPORTED As Integer = &H10     ' Media is supporting incoming connections. 
    Public Const API_MEDIA_IC_NOT_SUPPORTED As Integer = &H20 ' Media is not supporting incoming connections.

    Public Function CONAPI_GET_MEDIA_TYPE(ByVal iMedia As Integer) As Integer
        CONAPI_GET_MEDIA_TYPE = &HFF And iMedia
    End Function

    Public Function CONAPI_IS_MEDIA_ACTIVE(ByVal iState As Integer) As Integer
        CONAPI_IS_MEDIA_ACTIVE = &H1 And iState
    End Function

    Public Function CONAPI_IS_MEDIA_UNACTIVE(ByVal iState As Integer) As Integer
        CONAPI_IS_MEDIA_UNACTIVE = (&H2 And iState) >> 1
    End Function
    Public Function CONAPI_IS_IC_SUPPORTED(ByVal iOptions As Integer) As Integer
        CONAPI_IS_IC_SUPPORTED = (&H10 And iOptions) >> 4
    End Function

    Public Function CONAPI_IS_IC_UNSUPPORTED(ByVal iOptions As Integer) As Integer
        CONAPI_IS_IC_UNSUPPORTED = (&H20 And iOptions) >> 5
    End Function
End Module

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文子幕无线码一区tr| 男男视频亚洲欧美| 亚洲成人免费在线观看| 精品在线观看视频| 色综合色综合色综合| 日韩欧美国产系列| 亚洲色图都市小说| 国产精品88av| 欧美另类z0zxhd电影| 国产欧美日本一区视频| 婷婷激情综合网| 91女人视频在线观看| 久久中文字幕电影| 日本午夜精品视频在线观看 | 欧美午夜寂寞影院| 久久久久久久综合| 天堂蜜桃91精品| 色伊人久久综合中文字幕| 久久精品一区二区三区四区| 人人狠狠综合久久亚洲| 欧美综合一区二区三区| 中文乱码免费一区二区| 精品一区二区在线视频| 日韩欧美在线123| 亚洲国产综合色| 欧美图区在线视频| 一级日本不卡的影视| 91片黄在线观看| ...av二区三区久久精品| 国产一二精品视频| 久久这里都是精品| 国产精品一区二区x88av| 欧美大片在线观看一区二区| 视频一区视频二区中文| 欧美综合色免费| 亚洲影视在线观看| 欧洲一区二区三区免费视频| 亚洲精品欧美二区三区中文字幕| 丁香亚洲综合激情啪啪综合| 久久久精品免费网站| 国产一区二区三区高清播放| 精品成人一区二区三区| 韩国成人精品a∨在线观看| 精品国产乱码久久久久久免费| 日本女人一区二区三区| 欧美成人福利视频| 国产精品资源在线观看| 国产日韩欧美制服另类| 成人avav影音| 曰韩精品一区二区| 欧美日韩国产天堂| 99re在线精品| 亚洲视频免费看| 欧美午夜影院一区| 视频一区在线播放| 久久久久国产精品厨房| 99综合电影在线视频| 亚洲精品一二三四区| 欧美日韩国产大片| 国产一区二区三区四| 国产精品久线观看视频| 在线视频你懂得一区二区三区| 午夜精品久久久久久不卡8050| 欧美精品日韩精品| 国产精品一区免费在线观看| 自拍偷拍国产精品| 欧美一级高清片在线观看| 国产一区二区调教| 亚洲精品乱码久久久久| 日韩精品一区二区三区视频在线观看| 狠狠色2019综合网| 亚洲精品中文字幕乱码三区| 亚洲高清不卡在线| 欧美三级中文字| 日韩一区二区精品在线观看| 精品在线观看视频| 亚洲天堂2014| 555夜色666亚洲国产免| 国产福利电影一区二区三区| 一区二区三区电影在线播| 欧美一区2区视频在线观看| 国产成人在线视频免费播放| 亚洲成人av中文| 国产精品嫩草影院av蜜臀| 7777精品伊人久久久大香线蕉| 国产乱子伦一区二区三区国色天香| 亚洲柠檬福利资源导航| 久久久久久久电影| 欧美日韩不卡视频| 99re视频精品| 狠狠色综合播放一区二区| 亚洲激情校园春色| 国产女人18水真多18精品一级做| 欧美午夜电影网| 成人看片黄a免费看在线| 日本色综合中文字幕| 综合在线观看色| 久久午夜电影网| 制服丝袜中文字幕一区| 欧美主播一区二区三区美女| 成熟亚洲日本毛茸茸凸凹| 麻豆精品久久久| 亚洲国产日韩在线一区模特| 亚洲桃色在线一区| 国产精品看片你懂得| 久久久精品国产免费观看同学| 欧美日韩1234| 欧美三级电影在线看| 91麻豆免费在线观看| 高清av一区二区| 欧美午夜片在线看| av一区二区三区| 不卡电影免费在线播放一区| 国产一区二区在线观看免费| 免费国产亚洲视频| 免费人成精品欧美精品| 婷婷一区二区三区| 天堂蜜桃一区二区三区| 日日骚欧美日韩| 午夜电影一区二区| 亚洲一区二区三区四区在线免费观看 | 欧美激情在线看| 国产日韩高清在线| 久久久久99精品一区| 国产午夜精品一区二区三区嫩草| www激情久久| 精品国产乱码久久久久久久久| 欧美成人综合网站| 久久久久久久国产精品影院| 欧美国产一区在线| 国产精品国产三级国产普通话蜜臀 | 欧美午夜视频网站| 欧美顶级少妇做爰| 日韩三级免费观看| 久久久久久日产精品| 国产欧美日本一区视频| 中文字幕中文字幕在线一区| **欧美大码日韩| 悠悠色在线精品| 亚洲成人激情av| 麻豆久久久久久| 成人性生交大合| 欧洲国内综合视频| 日韩免费成人网| 国产精品视频在线看| 亚洲日本青草视频在线怡红院| 亚洲一区二区在线免费看| 日韩avvvv在线播放| 国产一区二区视频在线| 91丨porny丨蝌蚪视频| 欧美日韩国产一二三| 亚洲精品在线网站| 亚洲精品乱码久久久久久| 欧美aⅴ一区二区三区视频| 国产成人无遮挡在线视频| 色天使久久综合网天天| 精品欧美黑人一区二区三区| 国产精品国产三级国产aⅴ入口| 一区二区激情视频| 激情五月播播久久久精品| www.久久精品| 欧美一区二区成人6969| 亚洲天堂a在线| 极品美女销魂一区二区三区免费| 99九九99九九九视频精品| 日韩一区二区三区在线视频| 日韩一区日韩二区| 久久精品国产一区二区三| av在线播放一区二区三区| 日韩免费成人网| 亚洲一区二区三区在线看| 国产成人午夜精品影院观看视频| 欧美日韩国产高清一区二区三区 | 欧美另类久久久品| 最新国产の精品合集bt伙计| 免费观看久久久4p| 国产欧美中文在线| 五月婷婷欧美视频| 99精品视频在线观看免费| 欧美mv日韩mv| 亚洲成人一区在线| av不卡在线观看| 久久久综合九色合综国产精品| 亚洲不卡一区二区三区| www.亚洲精品| 久久久久久黄色| 蜜桃久久精品一区二区| 欧美日韩亚洲综合| 亚洲欧洲www| 成人精品视频一区二区三区 | av电影一区二区| 国产婷婷一区二区| 国产伦精一区二区三区| 日韩欧美国产一区二区三区| 亚洲国产欧美日韩另类综合| 91免费观看视频| 亚洲女子a中天字幕| 91色.com| 亚洲男人电影天堂| 91视频国产观看|