This function executes "WRMSR" (Opcode : 0F 30) instruction.
"WRMSR" : Writes the contents of registers EDX:EAX into the 64-bit model specific register (MSR) specified by the ECX register.
BOOL Wrmsr(
DWORD index,
DWORD eax,
DWORD edx
);
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE.
You can check whether "WRMSR" instruction is supported on your system with IsMsr.