MprAdminGetErrorString function (mprapi.h)
The MprAdminGetErrorString function returns the string associated with a router error from Mprerror.h.
Syntax
DWORD MprAdminGetErrorString(
[in] DWORD dwError,
[out] LPWSTR *lplpwsErrorString
);
Parameters
[in] dwError
Specifies the error code for a router error.
[out] lplpwsErrorString
Pointer to an LPWSTR variable that points to the text associated with the dwError code on successful return. Free this memory by calling LocalFree.
Return value
If the function succeeds, the return value is NO_ERROR.
If the function fails, the return value is one of the following error codes.
Value | Meaning |
---|---|
|
The calling application does not have sufficient privileges. |
|
The error code in dwError is unknown. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | mprapi.h |
Library | Mprapi.lib |
DLL | Mprapi.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for