Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6222345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:17:53+00:00 2026-05-24T08:17:53+00:00

I am modifying the partition table of an Usb Device for encryption purposes. The

  • 0

I am modifying the partition table of an Usb Device for encryption purposes.

The code works fine but i need to unplug and plug the usb device to see changes how can i do this programmatically ?

I know is possible because some other apps do it.Currently i use DeviceIoCtrl to remove the usb device and tell the user to do the operation manually but it’s not professional.

I tried to use IOCTL_INTERNAL_USB_CYCLE_PORT but that is not supported i guess it can be called only from kernel mode.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:17:54+00:00Added an answer on May 24, 2026 at 8:17 am

    The Remarks for IOCTL_DISK_UPDATE_PROPERTIES suggest it’s the correct IOCTL to use when you have directly modified the partition table and wish to reload it.

    This operation is used in synchronizing the system view of the specified disk device when the partition table of the disk is directly modified. Be sure to perform this operation when you update the usable space for a disk so that the system will update its partition table.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am modifying a SQL table through C# code and I need to drop
I'm modifying a bit of seriously complex code and I need to add my
I am modifying some code and came across a declaration that I am having
I am modifying a jQuery calendar and want to change this code: function getEventData()
I am trying to make a self-managing partition table setup with Postgres. It all
When modifying code I find I often have to go through dozens of files
I am modifying the old source code written in F77 to F90. I suffer
I'm modifying Qemu's source code, created a file like this #if defined(TARGET_I386) /* some
After modifying my C code, (written originally for Windows and compiled under VS 2008),
From apple doc Modifying the Fetch Request I see that is possible to change

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.