Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to generate a report? Pin
David L.S.23-Jan-07 22:40
David L.S.23-Jan-07 22:40 
AnswerRe: How to generate a report? Pin
toxcct23-Jan-07 22:54
toxcct23-Jan-07 22:54 
GeneralRe: How to generate a report? Pin
David L.S.23-Jan-07 23:01
David L.S.23-Jan-07 23:01 
AnswerRe: How to generate a report? Pin
David L.S.24-Jan-07 14:20
David L.S.24-Jan-07 14:20 
QuestionNeed help Pin
OmarLodhi23-Jan-07 22:11
OmarLodhi23-Jan-07 22:11 
AnswerRe: Event on the Title Bar Pin
toxcct23-Jan-07 22:16
toxcct23-Jan-07 22:16 
AnswerRe: Need help Pin
Nibu babu thomas23-Jan-07 22:41
Nibu babu thomas23-Jan-07 22:41 
QuestionHelp needed for disabling memory stick Pin
pavan_sw23-Jan-07 22:08
pavan_sw23-Jan-07 22:08 
spPropChangeParams.ClassInstallHeader.cbSize = sizeof(SP_CLASSINSTALL_HEADER);
spPropChangeParams.ClassInstallHeader.InstallFunction = DIF_PROPERTYCHANGE;
spPropChangeParams.Scope = DICS_FLAG_GLOBAL;
spPropChangeParams.StateChange = DICS_DISABLE;
spPropChangeParams.HwProfile = 0;
if ( !SetupDiSetClassInstallParams(hDevInfo, &spDevInfoData, (SP_CLASSINSTALL_HEADER*) &spPropChangeParams, sizeof(spPropChangeParams)) )
{;}
else if ( !SetupDiCallClassInstaller(DIF_PROPERTYCHANGE, hDevInfo, &spDevInfoData) )
{;}
Hi all,
Iam using above code to disable memory stick. It is working fine. But When any files are opened in the meomry stick it is not able to disabling memory stick.. Any help on this is greatly appreciated...
Thanks
--pavan
AnswerRe: Help needed for disabling memory stick Pin
jhwurmbach23-Jan-07 22:37
jhwurmbach23-Jan-07 22:37 
GeneralRe: Help needed for disabling memory stick Pin
pavan_sw24-Jan-07 1:06
pavan_sw24-Jan-07 1:06 
QuestionHow to hook z-order change in window when not in focus? Pin
drai23-Jan-07 22:04
drai23-Jan-07 22:04 
Questionhow to close opened files Pin
pavan_sw23-Jan-07 22:02
pavan_sw23-Jan-07 22:02 
AnswerRe: how to close opened files Pin
toxcct23-Jan-07 22:14
toxcct23-Jan-07 22:14 
GeneralRe: how to close opened files Pin
pavan_sw23-Jan-07 22:25
pavan_sw23-Jan-07 22:25 
GeneralRe: how to close opened files Pin
toxcct23-Jan-07 22:33
toxcct23-Jan-07 22:33 
QuestionRe: how to close opened files Pin
Roger Stoltz23-Jan-07 22:23
Roger Stoltz23-Jan-07 22:23 
AnswerRe: how to close opened files Pin
pavan_sw23-Jan-07 22:28
pavan_sw23-Jan-07 22:28 
AnswerRe: how to close opened files Pin
Roger Stoltz23-Jan-07 22:59
Roger Stoltz23-Jan-07 22:59 
GeneralRe: how to close opened files Pin
pavan_sw24-Jan-07 1:22
pavan_sw24-Jan-07 1:22 
GeneralRe: how to close opened files Pin
Roger Stoltz24-Jan-07 2:41
Roger Stoltz24-Jan-07 2:41 
AnswerRe: how to close opened files Pin
Waldermort23-Jan-07 22:36
Waldermort23-Jan-07 22:36 
QuestionContextMenu : First Item selected Pin
baerten23-Jan-07 21:42
baerten23-Jan-07 21:42 
AnswerRe: ContextMenu : First Item selected Pin
Nibu babu thomas23-Jan-07 21:53
Nibu babu thomas23-Jan-07 21:53 
GeneralRe: ContextMenu : First Item selected Pin
baerten23-Jan-07 22:12
baerten23-Jan-07 22:12 
GeneralRe: ContextMenu : First Item selected Pin
Nibu babu thomas23-Jan-07 22:18
Nibu babu thomas23-Jan-07 22:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.