用的是vs2022和easyx2022,想要实现更改鼠标光标的效果,但是这段代码运行之后没有任何变化,请问是怎么回事呢
```c++
#include<graphics.h>
#include<cstring>
#include<stdio.h>
#include<easyx.h>
#include <conio.h>
#include<windef.h>//EasyX 图像库头文件,用于绘图、鼠标操作、键盘操作等功能
#include<mmsystem.h>//包含多媒体设备接口头文件
#include<textstor.h>
#include<winuser.h>
#pragma comment(lib,"winmm.lib")//加载静态库
#pragma comment(lib,"MSIMG32.LIB")
using namespace std;
int main()
{
initgraph(WIDTH, HIGHT, EX_SHOWCONSOLE);
HCURSOR hcur = LoadCursor(NULL, IDC_CROSS); // 加载系统预置的鼠标样式
HWND hwnd = GetHWnd(); // 获取绘图窗口句柄
SetClassLong(hwnd, GCLP_HCURSOR, (long)hcur); // 设置窗口类的鼠标样式,其中第二个参数是鼠标样式
char ch = getchar();
closegraph();
}
```