Re: Formatting compact Flash
- From: "Velavar Pounraja" <velswipro@xxxxxxxxxxx>
- Date: Sun, 17 Apr 2005 12:26:30 +0530
Thanks Sachin,
I have attached the StackTrace file for ur reference. Currenlty we were
passing the disk handle obtained using CreateFile API.
I will try using the partition handle; I need some clarifications; To format
a flash from the control panel, we can use Store Manager and do it; but
before formatting it requires us to unmount the volume and then format and
then create partition and mount it again. Should a similar sequence be done
while doing the format thro APIs.
Should the volume has to be unmounted before calling the FormatVolume API ?
Looking forward for ur valuable inputs..
Thanks again,
Velavar
"Sachin Patel [MS]" <sapatel@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:uuGAi6FQFHA.2788@xxxxxxxxxxxxxxxxxxxxxxx
> One thing to make sure is that you are passing a partition handle, and not
a
> disk/store handle. You can obtain a partition handle by using
OpenPartition
> (see docs for usage). Also, if you could provide the call stack that
would
> be helpful (fatutil is public code).
>
> Sachin
>
> --
> To reply directly, remove "online" from my email address.
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "Velavar Pounraja" <velswipro@xxxxxxxxxxx> wrote in message
> news:u34KI4lPFHA.2520@xxxxxxxxxxxxxxxxxxxxxxx
> > Hi,
> >
> > With Platform Builder 4.2 for a MIPSII platform, when I try to Format my
> > external compact flash, using FormatVolume API, an exception is thrown;
> > Can
> > anyone please tell the procedure for formatting the compact flash thro
> > code.
> > Has anyone got success doing so?
> >
> > Thanks & Regards,
> > Velavar
> >
> >
>
>
begin 666 StackTrace.txt
M4W1A8VL@=')A8V4Z#0H-"B -"@T*1D%41E-$(49!5%]$979I8V5);T-O;G1R
M;VPH7T9(04Y$3$4@*B P># P,&,Y-C,P+"!U;G-I9VYE9"!L;VYG(#,L('9O
M:60@*B P>#$P,#)E8S0X+"!U;G-I9VYE9"!L;VYG(#(X+"!V;VED("H@,'@P
M,# P,# P,"P@=6YS:6=N960@;&]N9R P+"!U;G-I9VYE9"!L;VYG("H@,'@P
M,# P,# P,"P@7T]615),05!0140@*B P># P,# P,# P*2!F:6QE+F,@;&EN
M92 Q,C@P("L@-"!B>71E<PT*#0I&4T1-1U(A1E-$34=27T1E=FEC94EO0V]N
M=')O;"A?2$1,("H@,'@P,#!C.38V,"P@=6YS:6=N960@;&]N9R S+"!V;VED
M("H@,'@Q,# R96,T."P@=6YS:6=N960@;&]N9R R."P@=F]I9" J(#!X,# P
M,# P,# L('5N<VEG;F5D(&QO;F<@,"P@=6YS:6=N960@;&]N9R J(#!X,# P
M,# P,# L(%]/5D523$%04$5$("H@,'@P,# P,# P,"D@9G-D87!I<RYC<' @
M;&EN92 Q,C S("L@.# @8GET97,-"@T*3DLA4T-?1&5V:6-E26]#;VYT<F]L
M*'9O:60@*B P># P,&,Y-C8P+"!U;G-I9VYE9"!L;VYG(#,L('9O:60@*B P
M>#$P,#)E8S0X+"!U;G-I9VYE9"!L;VYG(#(X+"!V;VED("H@,'@P,# P,# P
M,"P@=6YS:6=N960@;&]N9R P+"!U;G-I9VYE9"!L;VYG("H@,'@P,# P,# P
M,"P@7T]615),05!0140@*B P># P,# P,# P*2!K;6ES8RYC(&QI;F4@,S8U
M." K(#8X(&)Y=&5S#0H-"D-/4D5$3$PA>'AX7T1E=FEC94EO0V]N=')O;"AV
M;VED("H@,'AC,S@S96%B,BP@=6YS:6=N960@;&]N9R S+"!V;VED("H@,'@Q
M,# R96,T."P@=6YS:6=N960@;&]N9R R."P@=F]I9" J(#!X,# P,# P,# L
M('5N<VEG;F5D(&QO;F<@,"P@=6YS:6=N960@;&]N9R J(#!X,# P,# P,# L
M(%]/5D523$%04$5$("H@,'@P,# P,# P,"D@='=I;F)A<V4N8R!L:6YE(#(W
M("L@,3,R(&)Y=&5S#0H-"D9!5%5424PA0T1I<VM);G1E<F9A8V4Z.E=R:71E
M4V5C=&]R<RAU;G-I9VYE9"!L;VYG(# L('5N<VEG;F5D(&-H87(@*B P># P
M,#8P,# P+"!U;G-I9VYE9"!L;VYG(#$L(%]31U]215$@>RXN+GTI(&1I<VMI
M;G1E<F9A8V4N8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N(BDL('!F:"P@9'=);T-O;G1R;VQ#;V1E*2D[#0H-"B -
M"@T*(" @("\O($9!5$5N=&5R475I8VLH*3L-"@T*( T*#0H@(" @:68@*"AP
M9F@M/F9H7V9L86=S("8@1DA&7U9/3%5-12D@)B8@(2AP9F@M/F9H7V9L86=S
M("8@1DA&7U5.34]53E1%1"DI('L-"@T*( T*#0H@(" @(" @(%!63TQ5344@
M<'9O;" ]('!F:"T^9FA?<'-T;2T^<U]P=F]L.PT*#0H@#0H-"B @(" @(%]?
M=')Y('L-"@T*( T*#0H@(" @(" @("IL<$)Y=&5S4F5T=7)N960@/2 P.PT*
"#0H`
`
end
.
- Follow-Ups:
- Re: Formatting compact Flash
- From: Sachin Patel [MS]
- Re: Formatting compact Flash
- References:
- Formatting compact Flash
- From: Velavar Pounraja
- Re: Formatting compact Flash
- From: Sachin Patel [MS]
- Formatting compact Flash
- Prev by Date: Re: HOW TO USE DIRECTSHOW IN .NET CF
- Next by Date: DirectX d3d8.lib link error CE.NET
- Previous by thread: Re: Formatting compact Flash
- Next by thread: Re: Formatting compact Flash
- Index(es):
Relevant Pages
|