Not any computer can connect to Apple earbuds, so it’s not that simple. To ensure the best possible connection, you should position the microphone port. Make sure you plug in the correct microphone jack to your PC before connecting the headphones.
Usually, manuals are included when buying a PC, you can review them. We think this is quite simple too, after identifying the correct jack plug your Apple headphones in!