APIって何? |
---|
APIの使い方 |
---|
Declare Function RegCloseKey Lib "ADVAPI32.DLL" (ByVal hKey As Long) As Long |
Declare Function RegSetValueEx Lib "ADVAPI32.DLL" Alias "RegSetValueExA" _ (ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, _ ByVal dwType As Long, lpData As Any, ByVal cbData As Long) As Long |
C言語専用に作られたAPI |
---|
Private Function CutNullChar(ByVal Str As String) As String Str = Str & vbNullChar CutNullChar = Left(Str, InStr(Str, vbNullChar) - 1) End Function |