Hello everybody,
This is my second question and same question...
I am trying to know USB mass storage was removed by safety or force as below
When mass storage was removed, it will be by safety remove function or forced remove(just pull out)
I would like to display message box.
If they just...
Hello everybody,
I am trying to know USB mass storage was removed by safety or force as below
LRESULT CMainFrame::OnDeviceChange(WPARAM wParam, LPARAM lParam)
{
DEV_BROADCAST_HDR *pStructure;
switch(wParam)
{
case DBT_DEVICEARRIVAL:
break;
case DBT_DEVICEREMOVECOMPLETE...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.