Click here to Skip to main content
15,922,145 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CRecordset Pin
David Crow19-Jan-07 2:32
David Crow19-Jan-07 2:32 
AnswerRe: CRecordset Pin
hairy_hats19-Jan-07 2:43
hairy_hats19-Jan-07 2:43 
QuestionCAnimateCtrl Pin
Bravoone_200619-Jan-07 2:03
Bravoone_200619-Jan-07 2:03 
QuestionRe: CAnimateCtrl Pin
David Crow19-Jan-07 2:34
David Crow19-Jan-07 2:34 
Questionproblem building OpenH323 Pin
Kiran Pinjala19-Jan-07 2:01
Kiran Pinjala19-Jan-07 2:01 
AnswerRe: problem building OpenH323 Pin
Kiran Pinjala19-Jan-07 2:35
Kiran Pinjala19-Jan-07 2:35 
GeneralRe: problem building OpenH323 Pin
David Crow19-Jan-07 2:39
David Crow19-Jan-07 2:39 
GeneralRe: problem building OpenH323 Pin
Kiran Pinjala19-Jan-07 3:11
Kiran Pinjala19-Jan-07 3:11 
QuestionRe: problem building OpenH323 Pin
David Crow19-Jan-07 3:45
David Crow19-Jan-07 3:45 
AnswerRe: problem building OpenH323 [modified] Pin
Kiran Pinjala19-Jan-07 17:30
Kiran Pinjala19-Jan-07 17:30 
GeneralRe: problem building OpenH323 Pin
David Crow22-Jan-07 3:13
David Crow22-Jan-07 3:13 
QuestionRe: problem building OpenH323 Pin
David Crow19-Jan-07 2:36
David Crow19-Jan-07 2:36 
Questionusb memory stick is not disabed Pin
pavan_sw19-Jan-07 1:50
pavan_sw19-Jan-07 1:50 
Hi all,
In my project we need to disable memory stick as soon as it is connected to the system. For doing this we are using SetupDiXXX win32 api's.
The problem with this is not disabling the memory stick first time which has never connected to the system before. From second time insetion onwards it is successfully disabling the memory stick.

iam using the following code to disable memory stick....

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) ) ;

Any help on this is greatly appreciated..
Thanks in advance

---Pavan
GeneralLocale problem with DDX conversion Pin
hairy_hats19-Jan-07 1:25
hairy_hats19-Jan-07 1:25 
Questioncheck printer Pin
birajendu19-Jan-07 0:28
birajendu19-Jan-07 0:28 
QuestionRe: check printer Pin
David Crow19-Jan-07 2:42
David Crow19-Jan-07 2:42 
AnswerRe: check printer Pin
birajendu19-Jan-07 5:39
birajendu19-Jan-07 5:39 
QuestionRe: check printer Pin
David Crow19-Jan-07 5:48
David Crow19-Jan-07 5:48 
AnswerRe: check printer Pin
birajendu19-Jan-07 6:03
birajendu19-Jan-07 6:03 
QuestionRe: check printer Pin
David Crow19-Jan-07 6:06
David Crow19-Jan-07 6:06 
AnswerRe: check printer Pin
birajendu19-Jan-07 6:14
birajendu19-Jan-07 6:14 
QuestionRe: check printer Pin
David Crow19-Jan-07 6:17
David Crow19-Jan-07 6:17 
Questionhow i create Dll of ActiveX Control Project Pin
aaaan19-Jan-07 0:12
aaaan19-Jan-07 0:12 
AnswerRe: how i create Dll of ActiveX Control Project Pin
Roger Stoltz19-Jan-07 0:30
Roger Stoltz19-Jan-07 0:30 
GeneralRe: how i create Dll of ActiveX Control Project Pin
aaaan19-Jan-07 1:08
aaaan19-Jan-07 1:08 

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.