Microsoft KB Archive/234222

{|
 * width="100%"|

PRB: OnLogDisconnection Does Not Return Immediately When a Device Disconnects from the Desktop

 * }

Q234222

-

The information in this article applies to:


 * Microsoft Win32 Application Programming Interface (API), included with:
 * The Windows CE Application Programmers Interface (API), version 1.0

-

SYMPTOMS
On Windows CE Services 2.2 or earlier, the desktop application uses the IDccManSink interface in order to be notified when a device disconnects. The OnLogDisconnection function is called when this disconnection event occurs. If the device is physically (manually) disconnected, there is a short time lapse before the function is called (approximately 10 seconds). The function is called immediately if the disconnection is done through the software.

RESOLUTION
An instantaneous response is returned if the device is disconnected through the software.

STATUS
This behavior is by design.

Additional query words:

Keywords : kbAPI kbKernBase kbDSupport kbGrpDSKernBase

Issue type : kbprb

Technology : kbAudDeveloper kbWin32sSearch kbWin32API