' ########################################################################################
' Microsoft Windows
' File: ProfInfo.inc
' Contents: Header file for profile info structure
' 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_ProfInfo_PBI)
#DEFINE PBX_ProfInfo_PBI
%EQUATE `PROFINFO_INC = 1
' // Size = 32 bytes
TYPE PROFILEINFOA DWORD
 dwSize AS DWORD
 dwFlags AS DWORD
 lpUserName AS ASCIIZ PTR
 lpProfilePath AS ASCIIZ PTR
 lpDefaultPath AS ASCIIZ PTR
 lpServerName AS ASCIIZ PTR
 lpPolicyPath AS ASCIIZ PTR
 hProfile AS DWORD
END TYPE
' // Size = 32 bytes
TYPE PROFILEINFOW DWORD
 dwSize AS DWORD
 dwFlags AS DWORD
 lpUserName AS WSTRINGZ PTR
 lpProfilePath AS WSTRINGZ PTR
 lpDefaultPath AS WSTRINGZ PTR
 lpServerName AS WSTRINGZ PTR
 lpPolicyPath AS WSTRINGZ PTR
 hProfile AS DWORD
END TYPE
#IF %DEF(%UNICODE)
 MACRO PROFILEINFO = PROFILEINFOW
#ELSE
 MACRO PROFILEINFO = PROFILEINFOA
#ENDIF
#ENDIF
