[This is preliminary documentation and subject to change.]
The MprAdminInterfaceDeviceGetInfo retrieves information about a device that is used in a router demand-dial interface.
DWORD MprAdminInterfaceDeviceGetInfo( MPR_SERVER_HANDLE hMprServer, HANDLE hInterface, DWORD dwIndex, DWORD dwLevel, LPBYTE *lplpBuffer );
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 |
---|---|
ERROR_ACCESS_DENIED | The calling application does not have sufficient privileges. |
ERROR_INVALID_HANDLE | The hInterface value is invalid. |
ERROR_INVALID_PARAMETER | The lplpbBuffer parameter is NULL. |
ERROR_NOT_ENOUGH_MEMORY | Insufficient resources to complete the operation. |
ERROR_NOT_SUPPORTED | The dwLevel value is invalid. |
Windows NT/2000: Requires Windows 2000.
Header: Declared in Mprapi.h.
Library: Use Mprapi.lib.
MPR_DEVICE_0, MPR_DEVICE_1, MprAdminInterfaceCreate, MprAdminInterfaceDeviceGetInfo