' ########################################################################################
' Microsoft Windows
' File: workspaceax.inc
' 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_workspaceax_PBI)
#DEFINE PBX_workspaceax_PBI
%EQUATE `WORKSPACEAX_INC = 1
'/* header files for imported files */
#INCLUDE ONCE "Legacy/System/WTypes.inc"
#INCLUDE ONCE "Legacy/COM/OAIdl.inc"
' ########################################################################################
' Interface name = IWorkspaceResTypeRegistry
' IID = {1D428C79-6E2E-4351-A361-C0401A03A0BA}
' Attributes = 4288 [&H10C0] [Dual] [Nonextensible] [Dispatchable]
' Inherited interface = IDispatch
' ########################################################################################
#IF NOT %DEF(%IWorkspaceResTypeRegistry_INTERFACE_DEFINED)
 %IWorkspaceResTypeRegistry_INTERFACE_DEFINED = 1
$IID_IWorkspaceResTypeRegistry = GUID$("{1D428C79-6E2E-4351-A361-C0401A03A0BA}")
INTERFACE IWorkspaceResTypeRegistry $IID_IWorkspaceResTypeRegistry
 INHERIT IDispatch
 ' =====================================================================================
 METHOD AddResourceType <1> ( ' VTable offset = 28
 BYVAL fMachineWide AS INTEGER
 , BYVAL bstrFileExtension AS WSTRING
 , BYVAL bstrLauncher AS WSTRING
 ) ' void
 ' =====================================================================================
 METHOD DeleteResourceType <2> ( ' VTable offset = 32
 BYVAL fMachineWide AS INTEGER
 , BYVAL bstrFileExtension AS WSTRING
 ) ' void
 ' =====================================================================================
 METHOD GetRegisteredFileExtensions <3> ( ' VTable offset = 36
 BYVAL fMachineWide AS INTEGER
 ) AS DWORD
 ' =====================================================================================
 METHOD GetResourceTypeInfo <4> ( ' VTable offset = 40
 BYVAL fMachineWide AS INTEGER
 , BYVAL bstrFileExtension AS WSTRING
 ) AS WSTRING
 ' =====================================================================================
 METHOD ModifyResourceType <5> ( ' VTable offset = 44
 BYVAL fMachineWide AS INTEGER
 , BYVAL bstrFileExtension AS WSTRING
 , BYVAL bstrLauncher AS WSTRING
 ) ' void
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __IWorkspaceResTypeRegistry_INTERFACE_DEFINED__ */
#ENDIF
