dnsapi: Better match the PSDK types, especially with regards to constness.
Add some missing A/W prototype macros. Update win32.api to fix the winapi_check warnings.
This commit is contained in:
parent
9fae03b39b
commit
ca3a241889
|
@ -55,7 +55,7 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
DNS_STATUS WINAPI DnsAcquireContextHandle_A( DWORD flags, PVOID cred,
|
DNS_STATUS WINAPI DnsAcquireContextHandle_A( DWORD flags, PVOID cred,
|
||||||
HANDLE *context )
|
PHANDLE context )
|
||||||
{
|
{
|
||||||
FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
|
FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ DNS_STATUS WINAPI DnsAcquireContextHandle_A( DWORD flags, PVOID cred,
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
DNS_STATUS WINAPI DnsAcquireContextHandle_UTF8( DWORD flags, PVOID cred,
|
DNS_STATUS WINAPI DnsAcquireContextHandle_UTF8( DWORD flags, PVOID cred,
|
||||||
HANDLE *context )
|
PHANDLE context )
|
||||||
{
|
{
|
||||||
FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
|
FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ DNS_STATUS WINAPI DnsAcquireContextHandle_UTF8( DWORD flags, PVOID cred,
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
DNS_STATUS WINAPI DnsAcquireContextHandle_W( DWORD flags, PVOID cred,
|
DNS_STATUS WINAPI DnsAcquireContextHandle_W( DWORD flags, PVOID cred,
|
||||||
HANDLE *context )
|
PHANDLE context )
|
||||||
{
|
{
|
||||||
FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
|
FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ DNS_STATUS WINAPI DnsAcquireContextHandle_W( DWORD flags, PVOID cred,
|
||||||
* DnsReleaseContextHandle [DNSAPI.@]
|
* DnsReleaseContextHandle [DNSAPI.@]
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
void WINAPI DnsReleaseContextHandle( HANDLE context )
|
VOID WINAPI DnsReleaseContextHandle( HANDLE context )
|
||||||
{
|
{
|
||||||
FIXME( "(%p) stub\n", context );
|
FIXME( "(%p) stub\n", context );
|
||||||
}
|
}
|
||||||
|
@ -167,8 +167,8 @@ DNS_STATUS WINAPI DnsModifyRecordsInSet_W( PDNS_RECORDW add, PDNS_RECORDW delete
|
||||||
* DnsWriteQuestionToBuffer_UTF8 [DNSAPI.@]
|
* DnsWriteQuestionToBuffer_UTF8 [DNSAPI.@]
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI DnsWriteQuestionToBuffer_UTF8( PDNS_MESSAGE_BUFFER buffer, LPDWORD size,
|
BOOL WINAPI DnsWriteQuestionToBuffer_UTF8( PDNS_MESSAGE_BUFFER buffer, PDWORD size,
|
||||||
LPSTR name, WORD type, WORD xid,
|
PCSTR name, WORD type, WORD xid,
|
||||||
BOOL recurse )
|
BOOL recurse )
|
||||||
{
|
{
|
||||||
FIXME( "(%p,%p,%s,%d,%d,%d) stub\n", buffer, size, debugstr_a(name),
|
FIXME( "(%p,%p,%s,%d,%d,%d) stub\n", buffer, size, debugstr_a(name),
|
||||||
|
@ -180,8 +180,8 @@ BOOL WINAPI DnsWriteQuestionToBuffer_UTF8( PDNS_MESSAGE_BUFFER buffer, LPDWORD s
|
||||||
* DnsWriteQuestionToBuffer_W [DNSAPI.@]
|
* DnsWriteQuestionToBuffer_W [DNSAPI.@]
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI DnsWriteQuestionToBuffer_W( PDNS_MESSAGE_BUFFER buffer, LPDWORD size,
|
BOOL WINAPI DnsWriteQuestionToBuffer_W( PDNS_MESSAGE_BUFFER buffer, PDWORD size,
|
||||||
LPWSTR name, WORD type, WORD xid,
|
PCWSTR name, WORD type, WORD xid,
|
||||||
BOOL recurse )
|
BOOL recurse )
|
||||||
{
|
{
|
||||||
FIXME( "(%p,%p,%s,%d,%d,%d) stub\n", buffer, size, debugstr_w(name),
|
FIXME( "(%p,%p,%s,%d,%d,%d) stub\n", buffer, size, debugstr_w(name),
|
||||||
|
|
|
@ -51,10 +51,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(dnsapi);
|
||||||
* DnsNameCompare_A [DNSAPI.@]
|
* DnsNameCompare_A [DNSAPI.@]
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI DnsNameCompare_A( LPSTR name1, LPSTR name2 )
|
BOOL WINAPI DnsNameCompare_A( PCSTR name1, PCSTR name2 )
|
||||||
{
|
{
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
LPWSTR name1W, name2W;
|
PWSTR name1W, name2W;
|
||||||
|
|
||||||
TRACE( "(%s,%s)\n", debugstr_a(name1), debugstr_a(name2) );
|
TRACE( "(%s,%s)\n", debugstr_a(name1), debugstr_a(name2) );
|
||||||
|
|
||||||
|
@ -73,9 +73,9 @@ BOOL WINAPI DnsNameCompare_A( LPSTR name1, LPSTR name2 )
|
||||||
* DnsNameCompare_W [DNSAPI.@]
|
* DnsNameCompare_W [DNSAPI.@]
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI DnsNameCompare_W( LPWSTR name1, LPWSTR name2 )
|
BOOL WINAPI DnsNameCompare_W( PCWSTR name1, PCWSTR name2 )
|
||||||
{
|
{
|
||||||
WCHAR *p, *q;
|
PCWSTR p, q;
|
||||||
|
|
||||||
TRACE( "(%s,%s)\n", debugstr_w(name1), debugstr_w(name2) );
|
TRACE( "(%s,%s)\n", debugstr_w(name1), debugstr_w(name2) );
|
||||||
|
|
||||||
|
@ -105,9 +105,9 @@ BOOL WINAPI DnsNameCompare_W( LPWSTR name1, LPWSTR name2 )
|
||||||
* DnsValidateName_A [DNSAPI.@]
|
* DnsValidateName_A [DNSAPI.@]
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
DNS_STATUS WINAPI DnsValidateName_A( LPCSTR name, DNS_NAME_FORMAT format )
|
DNS_STATUS WINAPI DnsValidateName_A( PCSTR name, DNS_NAME_FORMAT format )
|
||||||
{
|
{
|
||||||
LPWSTR nameW;
|
PWSTR nameW;
|
||||||
DNS_STATUS ret;
|
DNS_STATUS ret;
|
||||||
|
|
||||||
TRACE( "(%s, %d)\n", debugstr_a(name), format );
|
TRACE( "(%s, %d)\n", debugstr_a(name), format );
|
||||||
|
@ -123,9 +123,9 @@ DNS_STATUS WINAPI DnsValidateName_A( LPCSTR name, DNS_NAME_FORMAT format )
|
||||||
* DnsValidateName_UTF8 [DNSAPI.@]
|
* DnsValidateName_UTF8 [DNSAPI.@]
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
DNS_STATUS WINAPI DnsValidateName_UTF8( LPCSTR name, DNS_NAME_FORMAT format )
|
DNS_STATUS WINAPI DnsValidateName_UTF8( PCSTR name, DNS_NAME_FORMAT format )
|
||||||
{
|
{
|
||||||
LPWSTR nameW;
|
PWSTR nameW;
|
||||||
DNS_STATUS ret;
|
DNS_STATUS ret;
|
||||||
|
|
||||||
TRACE( "(%s, %d)\n", debugstr_a(name), format );
|
TRACE( "(%s, %d)\n", debugstr_a(name), format );
|
||||||
|
@ -152,9 +152,9 @@ DNS_STATUS WINAPI DnsValidateName_UTF8( LPCSTR name, DNS_NAME_FORMAT format )
|
||||||
* DnsValidateName_W [DNSAPI.@]
|
* DnsValidateName_W [DNSAPI.@]
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
DNS_STATUS WINAPI DnsValidateName_W( LPCWSTR name, DNS_NAME_FORMAT format )
|
DNS_STATUS WINAPI DnsValidateName_W( PCWSTR name, DNS_NAME_FORMAT format )
|
||||||
{
|
{
|
||||||
const WCHAR *p;
|
PCWSTR p;
|
||||||
unsigned int i, j, state = 0;
|
unsigned int i, j, state = 0;
|
||||||
static const WCHAR invalid[] = {
|
static const WCHAR invalid[] = {
|
||||||
'{','|','}','~','[','\\',']','^','\'',':',';','<','=','>',
|
'{','|','}','~','[','\\',']','^','\'',':',';','<','=','>',
|
||||||
|
|
|
@ -769,7 +769,7 @@ DNS_STATUS WINAPI DnsQuery_W( PCWSTR name, WORD type, DWORD options, PVOID serve
|
||||||
}
|
}
|
||||||
|
|
||||||
static DNS_STATUS dns_get_hostname_a( COMPUTER_NAME_FORMAT format,
|
static DNS_STATUS dns_get_hostname_a( COMPUTER_NAME_FORMAT format,
|
||||||
LPSTR buffer, PDWORD len )
|
PSTR buffer, PDWORD len )
|
||||||
{
|
{
|
||||||
char name[256];
|
char name[256];
|
||||||
DWORD size = sizeof(name);
|
DWORD size = sizeof(name);
|
||||||
|
@ -788,7 +788,7 @@ static DNS_STATUS dns_get_hostname_a( COMPUTER_NAME_FORMAT format,
|
||||||
}
|
}
|
||||||
|
|
||||||
static DNS_STATUS dns_get_hostname_w( COMPUTER_NAME_FORMAT format,
|
static DNS_STATUS dns_get_hostname_w( COMPUTER_NAME_FORMAT format,
|
||||||
LPWSTR buffer, PDWORD len )
|
PWSTR buffer, PDWORD len )
|
||||||
{
|
{
|
||||||
WCHAR name[256];
|
WCHAR name[256];
|
||||||
DWORD size = sizeof(name);
|
DWORD size = sizeof(name);
|
||||||
|
|
|
@ -539,7 +539,7 @@ error:
|
||||||
* DnsRecordListFree [DNSAPI.@]
|
* DnsRecordListFree [DNSAPI.@]
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
void WINAPI DnsRecordListFree( PDNS_RECORD list, DNS_FREE_TYPE type )
|
VOID WINAPI DnsRecordListFree( PDNS_RECORD list, DNS_FREE_TYPE type )
|
||||||
{
|
{
|
||||||
DNS_RECORD *r, *next;
|
DNS_RECORD *r, *next;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
|
@ -215,8 +215,8 @@ typedef struct _DnsRecordFlags
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPSTR pNamePrimaryServer;
|
PSTR pNamePrimaryServer;
|
||||||
LPSTR pNameAdministrator;
|
PSTR pNameAdministrator;
|
||||||
DWORD dwSerialNo;
|
DWORD dwSerialNo;
|
||||||
DWORD dwRefresh;
|
DWORD dwRefresh;
|
||||||
DWORD dwRetry;
|
DWORD dwRetry;
|
||||||
|
@ -226,8 +226,8 @@ typedef struct
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPWSTR pNamePrimaryServer;
|
PWSTR pNamePrimaryServer;
|
||||||
LPWSTR pNameAdministrator;
|
PWSTR pNameAdministrator;
|
||||||
DWORD dwSerialNo;
|
DWORD dwSerialNo;
|
||||||
DWORD dwRefresh;
|
DWORD dwRefresh;
|
||||||
DWORD dwRetry;
|
DWORD dwRetry;
|
||||||
|
@ -240,12 +240,12 @@ DECL_WINELIB_TYPE_AW(PDNS_SOA_DATA)
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPSTR pNameHost;
|
PSTR pNameHost;
|
||||||
} DNS_PTR_DATAA, *PDNS_PTR_DATAA;
|
} DNS_PTR_DATAA, *PDNS_PTR_DATAA;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPWSTR pNameHost;
|
PWSTR pNameHost;
|
||||||
} DNS_PTR_DATAW, *PDNS_PTR_DATAW;
|
} DNS_PTR_DATAW, *PDNS_PTR_DATAW;
|
||||||
|
|
||||||
DECL_WINELIB_TYPE_AW(DNS_PTR_DATA)
|
DECL_WINELIB_TYPE_AW(DNS_PTR_DATA)
|
||||||
|
@ -253,14 +253,14 @@ DECL_WINELIB_TYPE_AW(PDNS_PTR_DATA)
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPSTR pNameMailbox;
|
PSTR pNameMailbox;
|
||||||
LPSTR pNameErrorsMailbox;
|
PSTR pNameErrorsMailbox;
|
||||||
} DNS_MINFO_DATAA, *PDNS_MINFO_DATAA;
|
} DNS_MINFO_DATAA, *PDNS_MINFO_DATAA;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPWSTR pNameMailbox;
|
PWSTR pNameMailbox;
|
||||||
LPWSTR pNameErrorsMailbox;
|
PWSTR pNameErrorsMailbox;
|
||||||
} DNS_MINFO_DATAW, *PDNS_MINFO_DATAW;
|
} DNS_MINFO_DATAW, *PDNS_MINFO_DATAW;
|
||||||
|
|
||||||
DECL_WINELIB_TYPE_AW(DNS_MINFO_DATA)
|
DECL_WINELIB_TYPE_AW(DNS_MINFO_DATA)
|
||||||
|
@ -268,14 +268,14 @@ DECL_WINELIB_TYPE_AW(PDNS_MINFO_DATA)
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPSTR pNameExchange;
|
PSTR pNameExchange;
|
||||||
WORD wPreference;
|
WORD wPreference;
|
||||||
WORD Pad;
|
WORD Pad;
|
||||||
} DNS_MX_DATAA, *PDNS_MX_DATAA;
|
} DNS_MX_DATAA, *PDNS_MX_DATAA;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPWSTR pNameExchange;
|
PWSTR pNameExchange;
|
||||||
WORD wPreference;
|
WORD wPreference;
|
||||||
WORD Pad;
|
WORD Pad;
|
||||||
} DNS_MX_DATAW, *PDNS_MX_DATAW;
|
} DNS_MX_DATAW, *PDNS_MX_DATAW;
|
||||||
|
@ -286,13 +286,13 @@ DECL_WINELIB_TYPE_AW(PDNS_MX_DATA)
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
DWORD dwStringCount;
|
DWORD dwStringCount;
|
||||||
LPSTR pStringArray[1];
|
PSTR pStringArray[1];
|
||||||
} DNS_TXT_DATAA, *PDNS_TXT_DATAA;
|
} DNS_TXT_DATAA, *PDNS_TXT_DATAA;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
DWORD dwStringCount;
|
DWORD dwStringCount;
|
||||||
LPWSTR pStringArray[1];
|
PWSTR pStringArray[1];
|
||||||
} DNS_TXT_DATAW, *PDNS_TXT_DATAW;
|
} DNS_TXT_DATAW, *PDNS_TXT_DATAW;
|
||||||
|
|
||||||
DECL_WINELIB_TYPE_AW(DNS_TXT_DATA)
|
DECL_WINELIB_TYPE_AW(DNS_TXT_DATA)
|
||||||
|
@ -337,7 +337,7 @@ typedef struct
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPSTR pNameSigner;
|
PSTR pNameSigner;
|
||||||
WORD wTypeCovered;
|
WORD wTypeCovered;
|
||||||
BYTE chAlgorithm;
|
BYTE chAlgorithm;
|
||||||
BYTE chLabelCount;
|
BYTE chLabelCount;
|
||||||
|
@ -351,7 +351,7 @@ typedef struct
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPWSTR pNameSigner;
|
PWSTR pNameSigner;
|
||||||
WORD wTypeCovered;
|
WORD wTypeCovered;
|
||||||
BYTE chAlgorithm;
|
BYTE chAlgorithm;
|
||||||
BYTE chLabelCount;
|
BYTE chLabelCount;
|
||||||
|
@ -376,14 +376,14 @@ typedef struct
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPSTR pNameNext;
|
PSTR pNameNext;
|
||||||
WORD wNumTypes;
|
WORD wNumTypes;
|
||||||
WORD wTypes[1];
|
WORD wTypes[1];
|
||||||
} DNS_NXT_DATAA, *PDNS_NXT_DATAA;
|
} DNS_NXT_DATAA, *PDNS_NXT_DATAA;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPWSTR pNameNext;
|
PWSTR pNameNext;
|
||||||
WORD wNumTypes;
|
WORD wNumTypes;
|
||||||
WORD wTypes[1];
|
WORD wTypes[1];
|
||||||
} DNS_NXT_DATAW, *PDNS_NXT_DATAW;
|
} DNS_NXT_DATAW, *PDNS_NXT_DATAW;
|
||||||
|
@ -393,7 +393,7 @@ DECL_WINELIB_TYPE_AW(PDNS_NXT_DATA)
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPSTR pNameTarget;
|
PSTR pNameTarget;
|
||||||
WORD wPriority;
|
WORD wPriority;
|
||||||
WORD wWeight;
|
WORD wWeight;
|
||||||
WORD wPort;
|
WORD wPort;
|
||||||
|
@ -402,7 +402,7 @@ typedef struct
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPWSTR pNameTarget;
|
PWSTR pNameTarget;
|
||||||
WORD wPriority;
|
WORD wPriority;
|
||||||
WORD wWeight;
|
WORD wWeight;
|
||||||
WORD wPort;
|
WORD wPort;
|
||||||
|
@ -414,7 +414,7 @@ DECL_WINELIB_TYPE_AW(PDNS_SRV_DATA)
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPSTR pNameAlgorithm;
|
PSTR pNameAlgorithm;
|
||||||
PBYTE pAlgorithmPacket;
|
PBYTE pAlgorithmPacket;
|
||||||
PBYTE pKey;
|
PBYTE pKey;
|
||||||
PBYTE pOtherData;
|
PBYTE pOtherData;
|
||||||
|
@ -430,7 +430,7 @@ typedef struct
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPWSTR pNameAlgorithm;
|
PWSTR pNameAlgorithm;
|
||||||
PBYTE pAlgorithmPacket;
|
PBYTE pAlgorithmPacket;
|
||||||
PBYTE pKey;
|
PBYTE pKey;
|
||||||
PBYTE pOtherData;
|
PBYTE pOtherData;
|
||||||
|
@ -449,7 +449,7 @@ DECL_WINELIB_TYPE_AW(PDNS_TKEY_DATA)
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPSTR pNameAlgorithm;
|
PSTR pNameAlgorithm;
|
||||||
PBYTE pAlgorithmPacket;
|
PBYTE pAlgorithmPacket;
|
||||||
PBYTE pSignature;
|
PBYTE pSignature;
|
||||||
PBYTE pOtherData;
|
PBYTE pOtherData;
|
||||||
|
@ -465,7 +465,7 @@ typedef struct
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
LPWSTR pNameAlgorithm;
|
PWSTR pNameAlgorithm;
|
||||||
PBYTE pAlgorithmPacket;
|
PBYTE pAlgorithmPacket;
|
||||||
PBYTE pSignature;
|
PBYTE pSignature;
|
||||||
PBYTE pOtherData;
|
PBYTE pOtherData;
|
||||||
|
@ -493,7 +493,7 @@ typedef struct
|
||||||
DWORD dwMappingFlag;
|
DWORD dwMappingFlag;
|
||||||
DWORD dwLookupTimeout;
|
DWORD dwLookupTimeout;
|
||||||
DWORD dwCacheTimeout;
|
DWORD dwCacheTimeout;
|
||||||
LPSTR pNameResultDomain;
|
PSTR pNameResultDomain;
|
||||||
} DNS_WINSR_DATAA, *PDNS_WINSR_DATAA;
|
} DNS_WINSR_DATAA, *PDNS_WINSR_DATAA;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
@ -501,7 +501,7 @@ typedef struct
|
||||||
DWORD dwMappingFlag;
|
DWORD dwMappingFlag;
|
||||||
DWORD dwLookupTimeout;
|
DWORD dwLookupTimeout;
|
||||||
DWORD dwCacheTimeout;
|
DWORD dwCacheTimeout;
|
||||||
LPWSTR pNameResultDomain;
|
PWSTR pNameResultDomain;
|
||||||
} DNS_WINSR_DATAW, *PDNS_WINSR_DATAW;
|
} DNS_WINSR_DATAW, *PDNS_WINSR_DATAW;
|
||||||
|
|
||||||
DECL_WINELIB_TYPE_AW(DNS_WINSR_DATA)
|
DECL_WINELIB_TYPE_AW(DNS_WINSR_DATA)
|
||||||
|
@ -510,7 +510,7 @@ DECL_WINELIB_TYPE_AW(PDNS_WINSR_DATA)
|
||||||
typedef struct _DnsRecordA
|
typedef struct _DnsRecordA
|
||||||
{
|
{
|
||||||
struct _DnsRecordA *pNext;
|
struct _DnsRecordA *pNext;
|
||||||
LPSTR pName;
|
PSTR pName;
|
||||||
WORD wType;
|
WORD wType;
|
||||||
WORD wDataLength;
|
WORD wDataLength;
|
||||||
union
|
union
|
||||||
|
@ -546,7 +546,7 @@ typedef struct _DnsRecordA
|
||||||
typedef struct _DnsRecordW
|
typedef struct _DnsRecordW
|
||||||
{
|
{
|
||||||
struct _DnsRecordW *pNext;
|
struct _DnsRecordW *pNext;
|
||||||
LPWSTR pName;
|
PWSTR pName;
|
||||||
WORD wType;
|
WORD wType;
|
||||||
WORD wDataLength;
|
WORD wDataLength;
|
||||||
union
|
union
|
||||||
|
@ -614,22 +614,26 @@ typedef struct _DnsRRSet
|
||||||
_prrset->pLastRR->pNext = NULL; \
|
_prrset->pLastRR->pNext = NULL; \
|
||||||
}
|
}
|
||||||
|
|
||||||
DNS_STATUS WINAPI DnsAcquireContextHandle_A(DWORD,PVOID,HANDLE*);
|
DNS_STATUS WINAPI DnsAcquireContextHandle_A(DWORD,PVOID,PHANDLE);
|
||||||
DNS_STATUS WINAPI DnsAcquireContextHandle_W(DWORD,PVOID,HANDLE*);
|
DNS_STATUS WINAPI DnsAcquireContextHandle_W(DWORD,PVOID,PHANDLE);
|
||||||
|
#define DnsAcquireContextHandle WINELIB_NAME_AW(DnsAcquireContextHandle_)
|
||||||
DNS_STATUS WINAPI DnsExtractRecordsFromMessage_W(PDNS_MESSAGE_BUFFER,WORD,PDNS_RECORDW*);
|
DNS_STATUS WINAPI DnsExtractRecordsFromMessage_W(PDNS_MESSAGE_BUFFER,WORD,PDNS_RECORDW*);
|
||||||
DNS_STATUS WINAPI DnsExtractRecordsFromMessage_UTF8(PDNS_MESSAGE_BUFFER,WORD,PDNS_RECORDA*);
|
DNS_STATUS WINAPI DnsExtractRecordsFromMessage_UTF8(PDNS_MESSAGE_BUFFER,WORD,PDNS_RECORDA*);
|
||||||
DNS_STATUS WINAPI DnsModifyRecordsInSet_A(PDNS_RECORDA,PDNS_RECORDA,DWORD,HANDLE,PVOID,PVOID);
|
DNS_STATUS WINAPI DnsModifyRecordsInSet_A(PDNS_RECORDA,PDNS_RECORDA,DWORD,HANDLE,PVOID,PVOID);
|
||||||
DNS_STATUS WINAPI DnsModifyRecordsInSet_W(PDNS_RECORDW,PDNS_RECORDW,DWORD,HANDLE,PVOID,PVOID);
|
DNS_STATUS WINAPI DnsModifyRecordsInSet_W(PDNS_RECORDW,PDNS_RECORDW,DWORD,HANDLE,PVOID,PVOID);
|
||||||
DNS_STATUS WINAPI DnsModifyRecordsInSet_UTF8(PDNS_RECORDA,PDNS_RECORDA,DWORD,HANDLE,PVOID,PVOID);
|
DNS_STATUS WINAPI DnsModifyRecordsInSet_UTF8(PDNS_RECORDA,PDNS_RECORDA,DWORD,HANDLE,PVOID,PVOID);
|
||||||
BOOL WINAPI DnsNameCompare_A(LPSTR,LPSTR);
|
#define DnsModifyRecordsInSet WINELIB_NAME_AW(DnsModifyRecordsInSet_)
|
||||||
BOOL WINAPI DnsNameCompare_W(LPWSTR,LPWSTR);
|
BOOL WINAPI DnsNameCompare_A(PCSTR,PCSTR);
|
||||||
|
BOOL WINAPI DnsNameCompare_W(PCWSTR,PCWSTR);
|
||||||
|
#define DnsNameCompare WINELIB_NAME_AW(DnsNameCompare_)
|
||||||
DNS_STATUS WINAPI DnsQuery_A(PCSTR,WORD,DWORD,PVOID,PDNS_RECORDA*,PVOID*);
|
DNS_STATUS WINAPI DnsQuery_A(PCSTR,WORD,DWORD,PVOID,PDNS_RECORDA*,PVOID*);
|
||||||
DNS_STATUS WINAPI DnsQuery_W(PCWSTR,WORD,DWORD,PVOID,PDNS_RECORDW*,PVOID*);
|
DNS_STATUS WINAPI DnsQuery_W(PCWSTR,WORD,DWORD,PVOID,PDNS_RECORDW*,PVOID*);
|
||||||
DNS_STATUS WINAPI DnsQuery_UTF8(PCSTR,WORD,DWORD,PVOID,PDNS_RECORDA*,PVOID*);
|
DNS_STATUS WINAPI DnsQuery_UTF8(PCSTR,WORD,DWORD,PVOID,PDNS_RECORDA*,PVOID*);
|
||||||
|
#define DnsQuery WINELIB_NAME_AW(DnsQuery_)
|
||||||
DNS_STATUS WINAPI DnsQueryConfig(DNS_CONFIG_TYPE,DWORD,PWSTR,PVOID,PVOID,PDWORD);
|
DNS_STATUS WINAPI DnsQueryConfig(DNS_CONFIG_TYPE,DWORD,PWSTR,PVOID,PVOID,PDWORD);
|
||||||
BOOL WINAPI DnsRecordCompare(PDNS_RECORD,PDNS_RECORD);
|
BOOL WINAPI DnsRecordCompare(PDNS_RECORD,PDNS_RECORD);
|
||||||
PDNS_RECORD WINAPI DnsRecordCopyEx(PDNS_RECORD,DNS_CHARSET,DNS_CHARSET);
|
PDNS_RECORD WINAPI DnsRecordCopyEx(PDNS_RECORD,DNS_CHARSET,DNS_CHARSET);
|
||||||
void WINAPI DnsRecordListFree(PDNS_RECORD,DNS_FREE_TYPE);
|
VOID WINAPI DnsRecordListFree(PDNS_RECORD,DNS_FREE_TYPE);
|
||||||
BOOL WINAPI DnsRecordSetCompare(PDNS_RECORD,PDNS_RECORD,PDNS_RECORD*,PDNS_RECORD*);
|
BOOL WINAPI DnsRecordSetCompare(PDNS_RECORD,PDNS_RECORD,PDNS_RECORD*,PDNS_RECORD*);
|
||||||
PDNS_RECORD WINAPI DnsRecordSetCopyEx(PDNS_RECORD,DNS_CHARSET,DNS_CHARSET);
|
PDNS_RECORD WINAPI DnsRecordSetCopyEx(PDNS_RECORD,DNS_CHARSET,DNS_CHARSET);
|
||||||
PDNS_RECORD WINAPI DnsRecordSetDetach(PDNS_RECORD);
|
PDNS_RECORD WINAPI DnsRecordSetDetach(PDNS_RECORD);
|
||||||
|
@ -637,11 +641,13 @@ void WINAPI DnsReleaseContextHandle(HANDLE);
|
||||||
DNS_STATUS WINAPI DnsReplaceRecordSetA(PDNS_RECORDA,DWORD,HANDLE,PVOID,PVOID);
|
DNS_STATUS WINAPI DnsReplaceRecordSetA(PDNS_RECORDA,DWORD,HANDLE,PVOID,PVOID);
|
||||||
DNS_STATUS WINAPI DnsReplaceRecordSetW(PDNS_RECORDW,DWORD,HANDLE,PVOID,PVOID);
|
DNS_STATUS WINAPI DnsReplaceRecordSetW(PDNS_RECORDW,DWORD,HANDLE,PVOID,PVOID);
|
||||||
DNS_STATUS WINAPI DnsReplaceRecordSetUTF8(PDNS_RECORDA,DWORD,HANDLE,PVOID,PVOID);
|
DNS_STATUS WINAPI DnsReplaceRecordSetUTF8(PDNS_RECORDA,DWORD,HANDLE,PVOID,PVOID);
|
||||||
DNS_STATUS WINAPI DnsValidateName_A(LPCSTR,DNS_NAME_FORMAT);
|
#define DnsReplaceRecordSet WINELIB_NAME_AW(DnsReplaceRecordSet)
|
||||||
DNS_STATUS WINAPI DnsValidateName_W(LPCWSTR, DNS_NAME_FORMAT);
|
DNS_STATUS WINAPI DnsValidateName_A(PCSTR,DNS_NAME_FORMAT);
|
||||||
DNS_STATUS WINAPI DnsValidateName_UTF8(LPCSTR,DNS_NAME_FORMAT);
|
DNS_STATUS WINAPI DnsValidateName_W(PCWSTR, DNS_NAME_FORMAT);
|
||||||
BOOL WINAPI DnsWriteQuestionToBuffer_W(PDNS_MESSAGE_BUFFER,LPDWORD,LPWSTR,WORD,WORD,BOOL);
|
DNS_STATUS WINAPI DnsValidateName_UTF8(PCSTR,DNS_NAME_FORMAT);
|
||||||
BOOL WINAPI DnsWriteQuestionToBuffer_UTF8(PDNS_MESSAGE_BUFFER,LPDWORD,LPSTR,WORD,WORD,BOOL);
|
#define DnsValidateName WINELIB_NAME_AW(DnsValidateName_)
|
||||||
|
BOOL WINAPI DnsWriteQuestionToBuffer_W(PDNS_MESSAGE_BUFFER,PDWORD,PCWSTR,WORD,WORD,BOOL);
|
||||||
|
BOOL WINAPI DnsWriteQuestionToBuffer_UTF8(PDNS_MESSAGE_BUFFER,PDWORD,PCSTR,WORD,WORD,BOOL);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -1186,7 +1186,6 @@ WORD
|
||||||
|
|
||||||
%ptr
|
%ptr
|
||||||
|
|
||||||
HANDLE *
|
|
||||||
PDNS_MESSAGE_BUFFER
|
PDNS_MESSAGE_BUFFER
|
||||||
PDNS_RECORD
|
PDNS_RECORD
|
||||||
PDNS_RECORD *
|
PDNS_RECORD *
|
||||||
|
@ -1195,26 +1194,23 @@ PDNS_RECORDA *
|
||||||
PDNS_RECORDW
|
PDNS_RECORDW
|
||||||
PDNS_RECORDW *
|
PDNS_RECORDW *
|
||||||
PDWORD
|
PDWORD
|
||||||
|
PHANDLE
|
||||||
PVOID
|
PVOID
|
||||||
PVOID *
|
PVOID *
|
||||||
|
|
||||||
%str
|
%str
|
||||||
|
|
||||||
LPCSTR
|
|
||||||
LPSTR
|
|
||||||
PCSTR
|
PCSTR
|
||||||
|
|
||||||
%void
|
|
||||||
|
|
||||||
void
|
|
||||||
|
|
||||||
%wstr
|
%wstr
|
||||||
|
|
||||||
LPCWSTR
|
|
||||||
LPWSTR
|
|
||||||
PCWSTR
|
PCWSTR
|
||||||
PWSTR
|
PWSTR
|
||||||
|
|
||||||
|
%void
|
||||||
|
|
||||||
|
VOID
|
||||||
|
|
||||||
%%dplayx.dll
|
%%dplayx.dll
|
||||||
|
|
||||||
%long
|
%long
|
||||||
|
|
Loading…
Reference in New Issue