Anonymous
|
Hi, This API function is capable to return both, boolean values (e.g. the hierarchical flag) and string data (e.g. the username). So we'd rather declare two different functions in LS. For Windows32 platforms I use these: ' for string data Declare Function W32_REGGetIDInfo_String Lib notesLib Alias "REGGetIDInfo" (_ Byval IDFileName As Lmbcs String, _ Byval InfoType As Integer, _ Byval OutBufr As String, _ Byval OutBufrLen As Integer, _ ActualLen As Integer) As Integer ' for boolean values ' NOTE: OutBufrLen = 4 (the leght of data type 'long' in LS) Declare Function W32_REGGetIDInfo_Boolean Lib notesLib Alias "REGGetIDInfo" (_ Byval IDFileName As Lmbcs String, _ Byval InfoType As Integer, _ OutBufr As Long, _ Byval OutBufrLen As Integer, _ ActualLen As Integer) As Integer
|