SPI, I2C, PWM and GPIO functions do not have API functions on their own in the WinCE image; instead you need to directly program the HW registers.
We also provide libraries and code samples for these peripherals.