' ########################################################################################
' Microsoft Windows
' File: wptypes.inc
' Contents: Data types for the Microsoft Web Publishing API
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_wptypes_PBI)
#DEFINE PBX_wptypes_PBI
%WPTYPES_INC = 1
'//
'//	Site info structures
'//
' // Size = 16 bytes
TYPE WPSITEINFOA DWORD
 dwSize AS DWORD
 dwFlags AS DWORD
 lpszSiteName AS ASCIIZ PTR
 lpszSiteURL AS ASCIIZ PTR ' LOSTR
END TYPE
' // Size = 16 bytes
TYPE WPSITEINFOW DWORD
 dwSize AS DWORD
 dwFlags AS DWORD
 lpszSiteName AS WSTRINGZ PTR
 lpszSiteURL AS WSTRINGZ PTR
END TYPE
#IF %DEF(%UNICODE)
 MACRO WPSITEINFO = WPSITEINFOW
#ELSE
 MACRO WPSITEINFO = WPSITEINFOA
#ENDIF
'//
'//	Provider info structures
'//
' // Size = 24 bytes
TYPE WPPROVINFOA DWORD
 dwSize AS DWORD
 dwFlags AS DWORD
 dwPriority AS DWORD
 lpszProviderName AS ASCIIZ PTR
 lpszProviderCLSID AS ASCIIZ PTR
 lpszDllPath AS ASCIIZ PTR
END TYPE
' // Size = 24 bytes
TYPE WPPROVINFOW DWORD
 dwSize AS DWORD
 dwFlags AS DWORD
 dwPriority AS DWORD
 lpszProviderName AS WSTRINGZ PTR
 lpszProviderCLSID AS WSTRINGZ PTR
 lpszDllPath AS WSTRINGZ PTR
END TYPE
#IF %DEF(%UNICODE)
 MACRO WPPROVINFO = WPPROVINFOW
#ELSE
 MACRO WPPROVINFO = WPPROVINFOA
#ENDIF