Export (0) Print
Expand All
Expand Minimize

CM_Is_Dock_Station_Present function

The CM_Is_Dock_Station_Present function identifies whether a docking station is present in a local machine.

Syntax


CMAPI
CONFIGRET
WINAPI CM_Is_Dock_Station_Present(
  _Out_  PBOOL pbPresent
);

Parameters

pbPresent [out]

Pointer to a Boolean value that indicates whether a docking station is present in a local machine. The function sets *pbPresent to TRUE if a docking station is present. Otherwise, the function sets *pbPresent to FALSE.

Return value

If the operation succeeds, the function returns CR_SUCCESS. Otherwise, the function returns one of the CR_-prefixed error codes that are defined in Cfgmgr32.h.

Remarks

Use this function to determine whether a docking station is present in a local machine. You can also use the following related functions with docking stations:

Requirements

Version

Available in Microsoft Windows 2000 and later versions of Windows.

Header

Cfgmgr32.h (include Cfgmgr32.h)

Library

Cfgmgr32.lib

See also

CM_Is_Dock_Station_Present_Ex
CM_Request_Eject_PC
CM_Request_Eject_PC_Ex

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft