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;
}
/******************************************************************************
* DuplicateTokenEx [ADVAPI32.@]
*/
BOOL WINAPI DuplicateTokenEx(
HANDLE ExistingTokenHandle, DWORD dwDesiredAccess,
LPSECURITY_ATTRIBUTES lpTokenAttributes,

View File

@ -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)
{

View File

@ -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;

View File

@ -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();

View File

@ -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);

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

View File

@ -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)

View File

@ -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;

View File

@ -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);

View File

@ -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;

View File

@ -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);

View File

@ -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,

View File

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