英语翻译Private DeclareFunction OSGetProfileInt Lib "kernel32" Alias _"GetProfileIntA" (ByVal lpAppNameAs String,ByVal lpKeyName As String,_ByVal nDefault As Long) As LongPrivate DeclareFunction OSGetProfileSection Lib "kernel32" Alias _"GetProfi

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/28 06:13:02

英语翻译Private DeclareFunction OSGetProfileInt Lib "kernel32" Alias _"GetProfileIntA" (ByVal lpAppNameAs String,ByVal lpKeyName As String,_ByVal nDefault As Long) As LongPrivate DeclareFunction OSGetProfileSection Lib "kernel32" Alias _"GetProfi
英语翻译
Private DeclareFunction OSGetProfileInt Lib "kernel32" Alias _
"GetProfileIntA" (ByVal lpAppNameAs String,ByVal lpKeyName As String,_
ByVal nDefault As Long) As Long
Private DeclareFunction OSGetProfileSection Lib "kernel32" Alias _
"GetProfileSectionA" (ByVallpAppName As String,_
ByVal lpReturnedString As String,ByValnSize As Long) As Long
Private DeclareFunction OSGetProfileString Lib "kernel32" Alias _
"GetProfileStringA" (ByVallpAppName As String,ByVal lpKeyName As String,_
ByVal lpDefault As String,ByVallpReturnedString As String,ByVal nSize As Long) As Long
Private DeclareFunction OSWriteProfileSection Lib "kernel32" Alias _
"WriteProfileSectionA" (ByVallpAppName As String,ByVal lpString As String) As Long
Private DeclareFunction OSWriteProfileString Lib "kernel32" Alias _
"WriteProfileStringA" (ByVal
lpszSection As String,ByVal lpszKeyName As String,ByVal lpszString As String)
As Long
Private ConstnBUFSIZEINI = 1024
Private ConstnBUFSIZEINIALL = 4096

英语翻译Private DeclareFunction OSGetProfileInt Lib "kernel32" Alias _"GetProfileIntA" (ByVal lpAppNameAs String,ByVal lpKeyName As String,_ByVal nDefault As Long) As LongPrivate DeclareFunction OSGetProfileSection Lib "kernel32" Alias _"GetProfi
这些代码没什么实际意义,都是声明API而已,一个个告诉你这些API都是什么作用吧.
1、OSGetProfileInt:取得win.ini初始化文件中指定条目的一个整数值
(参数lpAppName,String,欲在其中搜索条目的小节名.这个字串不区分大小写;
lpKeyName,String,欲获取的项名或条目名.这个字串不区分大小写;
nDefault,Long,指定在条目未找到时返回的默认值)
2、OSGetProfileSection:获取指定小节(在win.ini文件中)所有项名和值的一个列表
(参数lpAppName,String,欲获取的小节.这个字串不区分大小写;
lpReturnedString,String,用于容纳项和值字串列表的一个缓冲区.每个字串都用一个NULL分隔,最后一个字串用两个NULL字符中止;
nSize Long,lpReturnedString缓冲区的大小,在windows 95中最大为32767 )
3、OSGetProfileString :为win.ini初始化文件中指定的条目取得字串
(参数lpAppName,String,要在其中查找条目的小节名.这个字串不区分大小写.如果为vbNullString,则在lpReturnedString缓冲区装载这个.ini文件的所有小节的一个列表 ;
lpKeyName,String,欲获取的项名或条目名.这个字串不区分大小写.如果为vbNullString,则在lpReturnedString缓冲区装载指定小节内所有项的一个列表;
lpDefault,String,指定条目未找到时返回的默认值.可设为空("");
lpReturnedString,String,指定一个预先初始化好的字串缓冲区,长度至少为nSize个字符;
nSize,Long,装载到lpReturnedString缓冲区的最大字符数)
4、OSWriteProfileSection:为Win.ini初始化文件中一个指定的小节设置所有项名和值
(参数lpAppName,String,要设置的小节.这个字串不区分大小写;
lpString,String,项和值字串的一个列表.每个字串都用一个NULL字符分隔,最后一个字串后面用两个NULL表示中止.如lpAppName指定的小节不存在,则用那个名字新建一个小节,并将其追加到初始化文件的最后.如果存在,则当前的所有项名和值都会被这个缓冲区中指定的数据取代 )
5、OSWriteProfileString:在Win.ini初始化文件指定小节内设置一个字串.
(参数lpszSection,String,指定要在其中写入新串的小节.如尚不存在,会创建这个小节.这个字串不区分大小写;
lpszKeyName,String,要设置的项名或条目名.这个字串不区分大小写.用vbNullString可删除这个小节的所有设置项;
lpszString,String,指定为这个项写入的字串值.用vbNullString表示删除这个项现有的字串.)
同时又声明了两个常量:
nBUFSIZEINI = 1024
nBUFSIZEINIALL = 4096

private Private 英语翻译China Airlines 和 apply to private 英语翻译!private company constituents什么意思? 英语翻译Private StoredValue As DoublePrivate Const opNone = 0Private Const opAdd = 1Private Const opSubtract = 2Private Const opMultiply = 3Private Const opDivide = 4Private Operator As IntegerPrivate NewEntry As Boolean' Remove the last characte 英语翻译import flash.text.TextField;import flash.ui.Mouse;public class Main extends Sprite {private var score:Number;public var score_txt:TextField;private var stageW:Number;private var stageH:Number;private var content_mc:Sprite;private var mous 英语翻译控制标签移动private sub timer1_timer()if label1.left 英语翻译linux里的private colormap/private_colormap option中文是什么? 英语翻译import flash.text.TextField;import flash.ui.Mouse;public class Main extends Sprite {private var score:Number;//得分值public var score_txt:TextField;//得分显示private var stageW:Number;private var stageH:Number;private var content_m private equity private a. Private Label private affair inspected private 英语翻译Private Declare Function GetWindowsDirectory Lib kernel32 Alias GetWindowsDirectoryA (ByVal lpBuffer As String,ByVal nSize As Long) As Long Private Declare Function SystemParametersInfo Lib user32 Alias SystemParametersInfoA (ByVa 英语翻译who happened to be at the private after party in a rented house 英语翻译以下单词:private angry conversation angrily theatre attention seat bear play business loudly rudely 英语翻译No doubt,change is needed in both the private and public sectors.