The expected behavior is that this will include handling of Win32 errors as well (such as RPC errors).
Note that if this method is being called via DCOM then it is very possible that RPC or other network related errors will be returned. For this reason it is probably good practice for the client to attempt to call a local Win32 function such as FormatMessage if this function fails.
Visual Basic (Declaration) | |
---|---|
Public Function GetErrorString( _ ByVal errorCode As Integer, _ ByVal localeID As Integer _ ) As String |
Parameters
- errorCode
- IN: HRESULTS error code
- localeID
- IN: requested LocaleId