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

@ -438,13 +438,15 @@ EngFileIoControl(
/* /*
* @implemented * @implemented
*/ */
DWORD APIENTRY _Success_(return==0)
DWORD
APIENTRY
EngDeviceIoControl( EngDeviceIoControl(
_In_ HANDLE hDevice, _In_ HANDLE hDevice,
_In_ DWORD dwIoControlCode, _In_ DWORD dwIoControlCode,
_In_opt_bytecount_(cjInBufferSize) LPVOID lpInBuffer, _In_reads_bytes_opt_(cjInBufferSize) LPVOID lpInBuffer,
_In_ DWORD cjInBufferSize, _In_ DWORD cjInBufferSize,
_Out_opt_bytecap_(cjOutBufferSize) LPVOID lpOutBuffer, _Out_writes_bytes_opt_(cjOutBufferSize) LPVOID lpOutBuffer,
_In_ DWORD cjOutBufferSize, _In_ DWORD cjOutBufferSize,
_Out_ LPDWORD lpBytesReturned) _Out_ LPDWORD lpBytesReturned)
{ {

View file

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

View file

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

View file

@ -395,15 +395,16 @@ IntCleanupCurIconCache(PPROCESSINFO Win32Process)
/* /*
* @implemented * @implemented
*/ */
_Success_(return != FALSE)
BOOL BOOL
APIENTRY NTAPI
NtUserGetIconInfo( NtUserGetIconInfo(
_In_ HANDLE hCurIcon, _In_ HANDLE hCurIcon,
_Out_opt_ PICONINFO IconInfo, _Out_opt_ PICONINFO IconInfo,
_Out_opt_ PUNICODE_STRING lpModule, // Optional _Inout_opt_ PUNICODE_STRING lpModule,
_Out_opt_ PUNICODE_STRING lpResName, // Optional _Inout_opt_ PUNICODE_STRING lpResName,
_Out_opt_ LPDWORD pbpp, // Optional _Out_opt_ LPDWORD pbpp,
_In_ BOOL bInternal) _In_ BOOL bInternal)
{ {
ICONINFO ii; ICONINFO ii;
PCURICON_OBJECT CurIcon; 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 * \note The function does not aquire any global lock, since synchronisation is
* handled by the RtlAtom function. * handled by the RtlAtom function.
*/ */
_Success_(return!=0) _Success_(return != 0)
_At_(pustrName->Buffer, _Out_z_bytecap_post_bytecount_(pustrName->MaximumLength, return*2+2)) _At_(pustrName->Buffer, _Out_z_bytecap_post_bytecount_(pustrName->MaximumLength, return * 2 + 2))
ULONG ULONG
APIENTRY APIENTRY
NtUserGetAtomName( NtUserGetAtomName(