Fix some annotations

svn path=/trunk/; revision=66635
This commit is contained in:
Timo Kreuzer 2015-03-10 00:08:54 +00:00
parent 6e781e624c
commit 7aa570c1fd
5 changed files with 18 additions and 23 deletions

View file

@ -212,7 +212,7 @@ EngpRegisterGraphicsDevice(
pdm->dmBitsPerPel,
pdm->dmDisplayFrequency);
/* Compare with the default entry */
if (!bModeMatch &&
if (!bModeMatch &&
pdm->dmBitsPerPel == pdmDefault->dmBitsPerPel &&
pdm->dmPelsWidth == pdmDefault->dmPelsWidth &&
pdm->dmPelsHeight == pdmDefault->dmPelsHeight)
@ -438,13 +438,15 @@ EngFileIoControl(
/*
* @implemented
*/
DWORD APIENTRY
_Success_(return==0)
DWORD
APIENTRY
EngDeviceIoControl(
_In_ HANDLE hDevice,
_In_ DWORD dwIoControlCode,
_In_opt_bytecount_(cjInBufferSize) LPVOID lpInBuffer,
_In_reads_bytes_opt_(cjInBufferSize) LPVOID lpInBuffer,
_In_ DWORD cjInBufferSize,
_Out_opt_bytecap_(cjOutBufferSize) LPVOID lpOutBuffer,
_Out_writes_bytes_opt_(cjOutBufferSize) LPVOID lpOutBuffer,
_In_ DWORD cjOutBufferSize,
_Out_ LPDWORD lpBytesReturned)
{

View file

@ -11,14 +11,6 @@
#define KeRosDumpStackFrames(Frames, Count)
#endif
NTSYSAPI
ULONG
APIENTRY
RtlWalkFrameChain(
_Out_ PVOID *Callers,
_In_ ULONG Count,
_In_ ULONG Flags);
ULONG
NTAPI
DbgCaptureStackBackTace(

View file

@ -2982,8 +2982,8 @@ BOOL
NTAPI
NtUserSetCursorIconData(
_In_ HCURSOR hCursor,
_In_ PUNICODE_STRING pustrModule,
_In_ PUNICODE_STRING puSrcName,
_In_opt_ PUNICODE_STRING pustrModule,
_In_opt_ PUNICODE_STRING puSrcName,
_In_ const CURSORDATA *pCursorData);
typedef struct _tagFINDEXISTINGCURICONPARAM

View file

@ -395,15 +395,16 @@ IntCleanupCurIconCache(PPROCESSINFO Win32Process)
/*
* @implemented
*/
_Success_(return != FALSE)
BOOL
APIENTRY
NTAPI
NtUserGetIconInfo(
_In_ HANDLE hCurIcon,
_Out_opt_ PICONINFO IconInfo,
_Out_opt_ PUNICODE_STRING lpModule, // Optional
_Out_opt_ PUNICODE_STRING lpResName, // Optional
_Out_opt_ LPDWORD pbpp, // Optional
_In_ BOOL bInternal)
_In_ HANDLE hCurIcon,
_Out_opt_ PICONINFO IconInfo,
_Inout_opt_ PUNICODE_STRING lpModule,
_Inout_opt_ PUNICODE_STRING lpResName,
_Out_opt_ LPDWORD pbpp,
_In_ BOOL bInternal)
{
ICONINFO ii;
PCURICON_OBJECT CurIcon;

View file

@ -91,8 +91,8 @@ IntAddGlobalAtom(LPWSTR lpBuffer, BOOL PinAtom)
* \note The function does not aquire any global lock, since synchronisation is
* handled by the RtlAtom function.
*/
_Success_(return!=0)
_At_(pustrName->Buffer, _Out_z_bytecap_post_bytecount_(pustrName->MaximumLength, return*2+2))
_Success_(return != 0)
_At_(pustrName->Buffer, _Out_z_bytecap_post_bytecount_(pustrName->MaximumLength, return * 2 + 2))
ULONG
APIENTRY
NtUserGetAtomName(