saint_bxg
驱动小牛
驱动小牛
  • 注册日期2006-08-01
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分10分
  • 威望284点
  • 贡献值0点
  • 好评度257点
  • 原创分0分
  • 专家分0分
阅读:1205回复:4

请教sniper167兄弟!

楼主#
更多 发布于:2007-07-08 21:47
sniper167兄弟你好:
   之前你提到过建两个FAT分区,一个隐藏,且让两个分区有不同的名字,不同的属性。现在成功了吗?
   我现在也遇到了跟你一样的情况,可以指点一下吗?谢谢!
努力! 成功就在不远处....
sniper167
驱动中牛
驱动中牛
  • 注册日期2006-07-12
  • 最后登录2016-01-09
  • 粉丝1
  • 关注0
  • 积分13分
  • 威望411点
  • 贡献值0点
  • 好评度321点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2007-07-09 09:15
我用的wince4.2   分区的名字不能自己定  只能是residentflash   residentflash2  residentflash3  。。。
如此这样  我也不知道有没有别的方法可以自己定名字  或许可以 只是我不知道而已

把分区隐藏我也没弄成功  我在创建分区的时候  把属性设成HIDE,但是启动后还是能看见
[url]http://sniper167.bokee.com[/url]
wince_lover
驱动中牛
驱动中牛
  • 注册日期2007-01-10
  • 最后登录2010-12-20
  • 粉丝0
  • 关注0
  • 积分1103分
  • 威望735点
  • 贡献值2点
  • 好评度279点
  • 原创分1分
  • 专家分0分
板凳#
发布于:2007-07-09 09:40
sniper167兄弟,请问你是如何创建分区的,能否详细说一下
saint_bxg
驱动小牛
驱动小牛
  • 注册日期2006-08-01
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分10分
  • 威望284点
  • 贡献值0点
  • 好评度257点
  • 原创分0分
  • 专家分0分
地板#
发布于:2007-07-09 09:55
创建分区可以用BP_OpenPartition()

*  ENTRY
 *      dwStartSector - Logical sector to start the partition.  NEXT_FREE_LOC if none
 *          specified.  Ignored if opening existing partition.
 *      dwNumSectors - Number of logical sectors of the partition.  USE_REMAINING_SPACE
 *          to indicate to take up the rest of the space on the flash for that partition (should
 *          only be used when creating extended partitions).  This parameter is ignored
 *          if opening existing partition.
 *      dwPartType - Type of partition to create/open.
 *      fActive - TRUE indicates to create/open the active partition.  FALSE for
 *          inactive.
 *      dwCreationFlags - PART_CREATE_NEW to create only.  Fail if it already
 *          exists.  PART_OPEN_EXISTING to open only.  Fail if it doesn't exist.
 *          PART_OPEN_ALWAYS creates if it does not exist and opens if it
 *          does exist.
努力! 成功就在不远处....
sniper167
驱动中牛
驱动中牛
  • 注册日期2006-07-12
  • 最后登录2016-01-09
  • 粉丝1
  • 关注0
  • 积分13分
  • 威望411点
  • 贡献值0点
  • 好评度321点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2007-07-17 11:01
引用第2楼wince_lover于2007-07-09 09:40发表的  :
sniper167兄弟,请问你是如何创建分区的,能否详细说一下


前段时间感冒 一直没上来

我是用的
BP_OpenPartition
创建分区的

需要注意的是我的是wince4.2的  最多只能创建4个分区  不知道5.0有没有限制
[url]http://sniper167.bokee.com[/url]
游客

返回顶部