ConnMgrQueryDetailedStatus

Send Feedback

This function returns detailed information about all existing connections.

HRESULT WINAPI ConnMgrQueryDetailedStatus(
  CONNMGR_CONNECTION_DETAILED_STATUS *pStatusBuffer,
  DWORD *pcbBufferSize 
);

Parameters

  • pStatusBuffer
    [out] Pointer to a buffer to be filled with the status information. The status information is stored in a CONNMGR_CONNECTION_DETAILED_STATUS structure.
  • pcbBufferSize
    [in, out] Size of the buffer.

Return Values

This function returns the following values.

Value Description
S_OK The function call was successful.
HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER) The size of the supplied buffer is insufficient. In this case pcbVufferSize will be assigned the required size of the buffer with which the function needs to be called on the next attempt.
Note   It is possible that a subsequent call will fail for the same reason if changes in the network configuration occurred between the initial and subsequent calls.
E_INVALIDARG One of the supplied arguments was invalid.
E_ACCESSDENIED The calling process does not have sufficient privileges to use this function.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Connmgr_status.h.
Link Library: Cellcore.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.