Add some documentation headers to make winapi_check happy.

This commit is contained in:
Francois Gouget 2006-11-12 20:23:28 +01:00 committed by Alexandre Julliard
parent aa857dead3
commit b2656633a6
13 changed files with 54 additions and 3 deletions

View file

@ -3715,6 +3715,9 @@ BOOL WINAPI CreateProcessAsUserW(
return TRUE; return TRUE;
} }
/******************************************************************************
* DuplicateTokenEx [ADVAPI32.@]
*/
BOOL WINAPI DuplicateTokenEx( BOOL WINAPI DuplicateTokenEx(
HANDLE ExistingTokenHandle, DWORD dwDesiredAccess, HANDLE ExistingTokenHandle, DWORD dwDesiredAccess,
LPSECURITY_ATTRIBUTES lpTokenAttributes, LPSECURITY_ATTRIBUTES lpTokenAttributes,

View file

@ -502,6 +502,9 @@ error_close_key:
return TRUE; return TRUE;
} }
/***********************************************************************
* CryptUnregisterOIDFunction (CRYPT32.@)
*/
BOOL WINAPI CryptUnregisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName, BOOL WINAPI CryptUnregisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
LPCSTR pszOID) LPCSTR pszOID)
{ {
@ -768,6 +771,9 @@ static inline BOOL CRYPT_SetDefaultOIDDlls(HKEY key, LPCWSTR dlls)
return r == ERROR_SUCCESS; return r == ERROR_SUCCESS;
} }
/***********************************************************************
* CryptRegisterDefaultOIDFunction (CRYPT32.@)
*/
BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType, BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,
LPCSTR pszFuncName, DWORD dwIndex, LPCWSTR pwszDll) LPCSTR pszFuncName, DWORD dwIndex, LPCWSTR pwszDll)
{ {
@ -1247,6 +1253,9 @@ static void free_oid_info(void)
DeleteCriticalSection(&oidInfoCS); DeleteCriticalSection(&oidInfoCS);
} }
/***********************************************************************
* CryptEnumOIDInfo (CRYPT32.@)
*/
BOOL WINAPI CryptEnumOIDInfo(DWORD dwGroupId, DWORD dwFlags, void *pvArg, BOOL WINAPI CryptEnumOIDInfo(DWORD dwGroupId, DWORD dwFlags, void *pvArg,
PFN_CRYPT_ENUM_OID_INFO pfnEnumOIDInfo) PFN_CRYPT_ENUM_OID_INFO pfnEnumOIDInfo)
{ {

View file

@ -339,6 +339,9 @@ static const IClassFactoryVtbl hlcfvt =
static CFImpl HLink_cf = { &hlcfvt, &HLink_Constructor }; static CFImpl HLink_cf = { &hlcfvt, &HLink_Constructor };
static CFImpl HLinkBrowseContext_cf = { &hlcfvt, &HLinkBrowseContext_Constructor }; static CFImpl HLinkBrowseContext_cf = { &hlcfvt, &HLinkBrowseContext_Constructor };
/***********************************************************************
* DllGetClassObject (HLINK.@)
*/
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
{ {
IClassFactory *pcf = NULL; IClassFactory *pcf = NULL;

View file

@ -123,6 +123,9 @@ static const IClassFactoryVtbl infosoft_cfvt =
static CFImpl wb_cf = { &infosoft_cfvt, &wb_Constructor }; static CFImpl wb_cf = { &infosoft_cfvt, &wb_Constructor };
/***********************************************************************
* DllGetClassObject (INFOSOFT.@)
*/
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
{ {
IClassFactory *pcf = NULL; IClassFactory *pcf = NULL;
@ -183,6 +186,9 @@ static HRESULT add_content_index_keys(void)
return S_OK; return S_OK;
} }
/***********************************************************************
* DllRegisterServer (INFOSOFT.@)
*/
HRESULT WINAPI DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
add_content_index_keys(); add_content_index_keys();

View file

@ -50,6 +50,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
return TRUE; return TRUE;
} }
/***********************************************************************
* DllGetClassObject (INSENG.@)
*/
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
{ {
FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv); FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv);

View file

@ -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 */ /* 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 ) LPVOID WINAPI HeapAlloc( HANDLE heap, DWORD flags, SIZE_T size )
{ {
return RtlAllocateHeap( heap, flags, size ); return RtlAllocateHeap( heap, flags, size );

View file

@ -45,6 +45,9 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
return TRUE; return TRUE;
} }
/***********************************************************************
* DsMakeSpnW (NTDSAPI.@)
*/
DWORD WINAPI DsMakeSpnW(LPCWSTR svc_class, LPCWSTR svc_name, DWORD WINAPI DsMakeSpnW(LPCWSTR svc_class, LPCWSTR svc_name,
LPCWSTR inst_name, USHORT inst_port, LPCWSTR inst_name, USHORT inst_port,
LPCWSTR ref, DWORD *spn_length, LPWSTR spn) LPCWSTR ref, DWORD *spn_length, LPWSTR spn)

View file

@ -156,9 +156,6 @@ int WINAPI wglGetLayerPaletteEntries(HDC hdc,
return 0; return 0;
} }
/***********************************************************************
* wglGetProcAddress (OPENGL32.@)
*/
static int compar(const void *elt_a, const void *elt_b) { static int compar(const void *elt_a, const void *elt_b) {
return strcmp(((const OpenGL_extension *) elt_a)->name, return strcmp(((const OpenGL_extension *) elt_a)->name,
((const OpenGL_extension *) elt_b)->name); ((const OpenGL_extension *) elt_b)->name);
@ -211,6 +208,9 @@ static BOOL is_extension_supported(const char* extension)
return FALSE; return FALSE;
} }
/***********************************************************************
* wglGetProcAddress (OPENGL32.@)
*/
PROC WINAPI wglGetProcAddress(LPCSTR lpszProc) { PROC WINAPI wglGetProcAddress(LPCSTR lpszProc) {
void *local_func; void *local_func;
OpenGL_extension ext; OpenGL_extension ext;

View file

@ -379,6 +379,9 @@ HRESULT WINAPI DllUnregisterServer(void)
return S_OK; return S_OK;
} }
/***********************************************************************
* DllGetClassObject (PSTOREC.@)
*/
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
{ {
FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv); FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv);

View file

@ -269,6 +269,9 @@ LONG WINAPI DBToAmpFactor(LONG db)
return 100; return 100;
} }
/***********************************************************************
* AMGetErrorTextA (QUARTZ.@)
*/
DWORD WINAPI AMGetErrorTextA(HRESULT hr, char *buffer, DWORD maxlen) DWORD WINAPI AMGetErrorTextA(HRESULT hr, char *buffer, DWORD maxlen)
{ {
int len; int len;
@ -284,6 +287,9 @@ DWORD WINAPI AMGetErrorTextA(HRESULT hr, char *buffer, DWORD maxlen)
return len; return len;
} }
/***********************************************************************
* AMGetErrorTextW (QUARTZ.@)
*/
DWORD WINAPI AMGetErrorTextW(HRESULT hr, WCHAR *buffer, DWORD maxlen) DWORD WINAPI AMGetErrorTextW(HRESULT hr, WCHAR *buffer, DWORD maxlen)
{ {
int len; int len;

View file

@ -52,6 +52,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
return TRUE; return TRUE;
} }
/***********************************************************************
* DllGetClassObject (QUERY.@)
*/
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
{ {
FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv); FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv);

View file

@ -254,6 +254,9 @@ typedef struct twr_t
/* [size_is] */ BYTE tower_octet_string[ 1 ]; /* [size_is] */ BYTE tower_octet_string[ 1 ];
} twr_t; } twr_t;
/***********************************************************************
* TowerExplode (RPCRT4.@)
*/
RPC_STATUS WINAPI TowerExplode( RPC_STATUS WINAPI TowerExplode(
const twr_t *tower, RPC_SYNTAX_IDENTIFIER *object, RPC_SYNTAX_IDENTIFIER *syntax, const twr_t *tower, RPC_SYNTAX_IDENTIFIER *object, RPC_SYNTAX_IDENTIFIER *syntax,
char **protseq, char **endpoint, char **address) char **protseq, char **endpoint, char **address)
@ -320,6 +323,9 @@ RPC_STATUS WINAPI TowerExplode(
return status; return status;
} }
/***********************************************************************
* TowerConstruct (RPCRT4.@)
*/
RPC_STATUS WINAPI TowerConstruct( RPC_STATUS WINAPI TowerConstruct(
const RPC_SYNTAX_IDENTIFIER *object, const RPC_SYNTAX_IDENTIFIER *syntax, const RPC_SYNTAX_IDENTIFIER *object, const RPC_SYNTAX_IDENTIFIER *syntax,
const char *protseq, const char *endpoint, const char *address, const char *protseq, const char *endpoint, const char *address,

View file

@ -1031,6 +1031,9 @@ BOOLEAN WINAPI GetComputerObjectNameW(
return status; return status;
} }
/***********************************************************************
* GetUserNameExA (SECUR32.@)
*/
BOOLEAN WINAPI GetUserNameExA( BOOLEAN WINAPI GetUserNameExA(
EXTENDED_NAME_FORMAT NameFormat, LPSTR lpNameBuffer, PULONG nSize) EXTENDED_NAME_FORMAT NameFormat, LPSTR lpNameBuffer, PULONG nSize)
{ {