From b2656633a66369fc49e44d9466794b8dcf2667f5 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sun, 12 Nov 2006 20:23:28 +0100 Subject: [PATCH] Add some documentation headers to make winapi_check happy. --- dlls/advapi32/security.c | 3 +++ dlls/crypt32/oid.c | 9 +++++++++ dlls/hlink/hlink_main.c | 3 +++ dlls/infosoft/infosoft_main.c | 6 ++++++ dlls/inseng/inseng_main.c | 3 +++ dlls/kernel32/heap.c | 3 +++ dlls/ntdsapi/ntdsapi.c | 3 +++ dlls/opengl32/wgl.c | 6 +++--- dlls/pstorec/pstorec.c | 3 +++ dlls/quartz/main.c | 6 ++++++ dlls/query/query_main.c | 3 +++ dlls/rpcrt4/rpc_epmap.c | 6 ++++++ dlls/secur32/secur32.c | 3 +++ 13 files changed, 54 insertions(+), 3 deletions(-) diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c index 7b4f5bc8441..5d66d0a79c2 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -3715,6 +3715,9 @@ BOOL WINAPI CreateProcessAsUserW( return TRUE; } +/****************************************************************************** + * DuplicateTokenEx [ADVAPI32.@] + */ BOOL WINAPI DuplicateTokenEx( HANDLE ExistingTokenHandle, DWORD dwDesiredAccess, LPSECURITY_ATTRIBUTES lpTokenAttributes, diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c index 4ab8a90b465..20d3b5daac2 100644 --- a/dlls/crypt32/oid.c +++ b/dlls/crypt32/oid.c @@ -502,6 +502,9 @@ error_close_key: return TRUE; } +/*********************************************************************** + * CryptUnregisterOIDFunction (CRYPT32.@) + */ BOOL WINAPI CryptUnregisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName, LPCSTR pszOID) { @@ -768,6 +771,9 @@ static inline BOOL CRYPT_SetDefaultOIDDlls(HKEY key, LPCWSTR dlls) return r == ERROR_SUCCESS; } +/*********************************************************************** + * CryptRegisterDefaultOIDFunction (CRYPT32.@) + */ BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName, DWORD dwIndex, LPCWSTR pwszDll) { @@ -1247,6 +1253,9 @@ static void free_oid_info(void) DeleteCriticalSection(&oidInfoCS); } +/*********************************************************************** + * CryptEnumOIDInfo (CRYPT32.@) + */ BOOL WINAPI CryptEnumOIDInfo(DWORD dwGroupId, DWORD dwFlags, void *pvArg, PFN_CRYPT_ENUM_OID_INFO pfnEnumOIDInfo) { diff --git a/dlls/hlink/hlink_main.c b/dlls/hlink/hlink_main.c index f0f003958e0..1a595ae4bc1 100644 --- a/dlls/hlink/hlink_main.c +++ b/dlls/hlink/hlink_main.c @@ -339,6 +339,9 @@ static const IClassFactoryVtbl hlcfvt = static CFImpl HLink_cf = { &hlcfvt, &HLink_Constructor }; static CFImpl HLinkBrowseContext_cf = { &hlcfvt, &HLinkBrowseContext_Constructor }; +/*********************************************************************** + * DllGetClassObject (HLINK.@) + */ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) { IClassFactory *pcf = NULL; diff --git a/dlls/infosoft/infosoft_main.c b/dlls/infosoft/infosoft_main.c index ea59476695d..16fbb735c04 100644 --- a/dlls/infosoft/infosoft_main.c +++ b/dlls/infosoft/infosoft_main.c @@ -123,6 +123,9 @@ static const IClassFactoryVtbl infosoft_cfvt = static CFImpl wb_cf = { &infosoft_cfvt, &wb_Constructor }; +/*********************************************************************** + * DllGetClassObject (INFOSOFT.@) + */ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) { IClassFactory *pcf = NULL; @@ -183,6 +186,9 @@ static HRESULT add_content_index_keys(void) return S_OK; } +/*********************************************************************** + * DllRegisterServer (INFOSOFT.@) + */ HRESULT WINAPI DllRegisterServer(void) { add_content_index_keys(); diff --git a/dlls/inseng/inseng_main.c b/dlls/inseng/inseng_main.c index 4e0b1f5fc59..83b145796c7 100644 --- a/dlls/inseng/inseng_main.c +++ b/dlls/inseng/inseng_main.c @@ -50,6 +50,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) return TRUE; } +/*********************************************************************** + * DllGetClassObject (INSENG.@) + */ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) { FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv); diff --git a/dlls/kernel32/heap.c b/dlls/kernel32/heap.c index bb415f222cd..5d7f61c0d67 100644 --- a/dlls/kernel32/heap.c +++ b/dlls/kernel32/heap.c @@ -268,6 +268,9 @@ DWORD WINAPI GetProcessHeaps( DWORD count, HANDLE *heaps ) /* These are needed so that we can call the functions from inside kernel itself */ +/*********************************************************************** + * HeapAlloc (KERNEL32.@) + */ LPVOID WINAPI HeapAlloc( HANDLE heap, DWORD flags, SIZE_T size ) { return RtlAllocateHeap( heap, flags, size ); diff --git a/dlls/ntdsapi/ntdsapi.c b/dlls/ntdsapi/ntdsapi.c index 940950b5c4f..f8fd98c026e 100644 --- a/dlls/ntdsapi/ntdsapi.c +++ b/dlls/ntdsapi/ntdsapi.c @@ -45,6 +45,9 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved) return TRUE; } +/*********************************************************************** + * DsMakeSpnW (NTDSAPI.@) + */ DWORD WINAPI DsMakeSpnW(LPCWSTR svc_class, LPCWSTR svc_name, LPCWSTR inst_name, USHORT inst_port, LPCWSTR ref, DWORD *spn_length, LPWSTR spn) diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c index bc5014aee00..11918507e2c 100644 --- a/dlls/opengl32/wgl.c +++ b/dlls/opengl32/wgl.c @@ -156,9 +156,6 @@ int WINAPI wglGetLayerPaletteEntries(HDC hdc, return 0; } -/*********************************************************************** - * wglGetProcAddress (OPENGL32.@) - */ static int compar(const void *elt_a, const void *elt_b) { return strcmp(((const OpenGL_extension *) elt_a)->name, ((const OpenGL_extension *) elt_b)->name); @@ -211,6 +208,9 @@ static BOOL is_extension_supported(const char* extension) return FALSE; } +/*********************************************************************** + * wglGetProcAddress (OPENGL32.@) + */ PROC WINAPI wglGetProcAddress(LPCSTR lpszProc) { void *local_func; OpenGL_extension ext; diff --git a/dlls/pstorec/pstorec.c b/dlls/pstorec/pstorec.c index 96ebe5b9ef5..6e2b5a59c2b 100644 --- a/dlls/pstorec/pstorec.c +++ b/dlls/pstorec/pstorec.c @@ -379,6 +379,9 @@ HRESULT WINAPI DllUnregisterServer(void) return S_OK; } +/*********************************************************************** + * DllGetClassObject (PSTOREC.@) + */ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) { FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv); diff --git a/dlls/quartz/main.c b/dlls/quartz/main.c index c5111bc8d7a..def4598f835 100644 --- a/dlls/quartz/main.c +++ b/dlls/quartz/main.c @@ -269,6 +269,9 @@ LONG WINAPI DBToAmpFactor(LONG db) return 100; } +/*********************************************************************** + * AMGetErrorTextA (QUARTZ.@) + */ DWORD WINAPI AMGetErrorTextA(HRESULT hr, char *buffer, DWORD maxlen) { int len; @@ -284,6 +287,9 @@ DWORD WINAPI AMGetErrorTextA(HRESULT hr, char *buffer, DWORD maxlen) return len; } +/*********************************************************************** + * AMGetErrorTextW (QUARTZ.@) + */ DWORD WINAPI AMGetErrorTextW(HRESULT hr, WCHAR *buffer, DWORD maxlen) { int len; diff --git a/dlls/query/query_main.c b/dlls/query/query_main.c index f25c90596e5..cdf0966b052 100644 --- a/dlls/query/query_main.c +++ b/dlls/query/query_main.c @@ -52,6 +52,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) return TRUE; } +/*********************************************************************** + * DllGetClassObject (QUERY.@) + */ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) { FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv); diff --git a/dlls/rpcrt4/rpc_epmap.c b/dlls/rpcrt4/rpc_epmap.c index 93e3e60e0ed..ee183f7d6e8 100644 --- a/dlls/rpcrt4/rpc_epmap.c +++ b/dlls/rpcrt4/rpc_epmap.c @@ -254,6 +254,9 @@ typedef struct twr_t /* [size_is] */ BYTE tower_octet_string[ 1 ]; } twr_t; +/*********************************************************************** + * TowerExplode (RPCRT4.@) + */ RPC_STATUS WINAPI TowerExplode( const twr_t *tower, RPC_SYNTAX_IDENTIFIER *object, RPC_SYNTAX_IDENTIFIER *syntax, char **protseq, char **endpoint, char **address) @@ -320,6 +323,9 @@ RPC_STATUS WINAPI TowerExplode( return status; } +/*********************************************************************** + * TowerConstruct (RPCRT4.@) + */ RPC_STATUS WINAPI TowerConstruct( const RPC_SYNTAX_IDENTIFIER *object, const RPC_SYNTAX_IDENTIFIER *syntax, const char *protseq, const char *endpoint, const char *address, diff --git a/dlls/secur32/secur32.c b/dlls/secur32/secur32.c index 8b3da3d6dbd..edb2c1dff62 100644 --- a/dlls/secur32/secur32.c +++ b/dlls/secur32/secur32.c @@ -1031,6 +1031,9 @@ BOOLEAN WINAPI GetComputerObjectNameW( return status; } +/*********************************************************************** + * GetUserNameExA (SECUR32.@) + */ BOOLEAN WINAPI GetUserNameExA( EXTENDED_NAME_FORMAT NameFormat, LPSTR lpNameBuffer, PULONG nSize) {