I successfully changed the timing resolution to 0.5ms using the following:
#include extern "C" NTSYSAPI NTSTATUS NTAPI NtSetTimer