1 krisbash 1.1 /*============================================================================
2 * Copyright (C) Microsoft Corporation, All rights reserved.
3 *============================================================================
4 */
5 #ifndef __hostedprovider_h_
6 #define __hostedprovider_h_
7
8 #include <MI.h>
9
10 _Success_(return == MI_RESULT_OK)
11 MI_Result MI_CALL HostedProvider_Create(
12 _In_ MI_Application *application,
13 _In_z_ const MI_Char * namespaceName,
14 _In_z_ const MI_Char * providerName,
15 _In_ MI_MainFunction mi_Main,
16 _Outptr_opt_result_maybenull_ MI_Instance **extendedError,
17 _Out_ MI_HostedProvider *hostedProvider);
18
19 MI_Result MI_CALL HostedProvider_Close(
20 _In_ MI_HostedProvider *hostedProvider);
21
22 krisbash 1.1 MI_Result MI_CALL HostedProvider_GetApplication(
23 _In_ MI_HostedProvider *hostedProvider,
24 _Out_ MI_Application *application);
25 #endif /* __hostedprovider_h_ */
26
|