比如以前的函数定义SetWindowPos
是这样的:
BOOL WINAPI SetWindowPos(
_In_ HWND hWnd,
_In_opt_ HWND hWndInsertAfter,
_In_ int X,
_In_ int Y,
_In_ int cx,
_In_ int cy,
_In_ UINT uFlags
);
这在调用约定以及哪些参数是可选/输入/输出等方面非常清楚。
然而,现在 MSDN 使它变得更简单,但删除了调用约定和 SAL 注释,如下所示:
BOOL SetWindowPos(
HWND hWnd,
HWND hWndInsertAfter,
int X,
int Y,
int cx,
int cy,
UINT uFlags
);
问题:无论如何现在可以查看 SAL 注释和调用约定吗?为什么他们想删除它呢?