设置Windows 8.1屏幕自动旋转代码, Auto-rotate function code
程序代码实现启用或禁用Windows 8.1 Tablet的自动旋转功能方法一:使用SetDisplayAutoRotationPreferences函数功能#include /*typedef enum ORIENTATION_PREFERENCE { ORIENTATION_PREFERENCE_NONE = 0x0, ORIENTATI