xref: /aosp_15_r20/external/mesa3d/src/gallium/frontends/nine/authenticatedchannel9.c (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1 /*
2  * Copyright 2011 Joakim Sindholt <[email protected]>
3  * SPDX-License-Identifier: MIT
4  */
5 
6 #include "authenticatedchannel9.h"
7 
8 #define DBG_CHANNEL DBG_AUTHENTICATEDCHANNEL
9 
10 HRESULT NINE_WINAPI
NineAuthenticatedChannel9_GetCertificateSize(struct NineAuthenticatedChannel9 * This,UINT * pCertificateSize)11 NineAuthenticatedChannel9_GetCertificateSize( struct NineAuthenticatedChannel9 *This,
12                                               UINT *pCertificateSize )
13 {
14     STUB(D3DERR_INVALIDCALL);
15 }
16 
17 HRESULT NINE_WINAPI
NineAuthenticatedChannel9_GetCertificate(struct NineAuthenticatedChannel9 * This,UINT CertifacteSize,BYTE * ppCertificate)18 NineAuthenticatedChannel9_GetCertificate( struct NineAuthenticatedChannel9 *This,
19                                           UINT CertifacteSize,
20                                           BYTE *ppCertificate )
21 {
22     STUB(D3DERR_INVALIDCALL);
23 }
24 
25 HRESULT NINE_WINAPI
NineAuthenticatedChannel9_NegotiateKeyExchange(struct NineAuthenticatedChannel9 * This,UINT DataSize,void * pData)26 NineAuthenticatedChannel9_NegotiateKeyExchange( struct NineAuthenticatedChannel9 *This,
27                                                 UINT DataSize,
28                                                 void *pData )
29 {
30     STUB(D3DERR_INVALIDCALL);
31 }
32 
33 HRESULT NINE_WINAPI
NineAuthenticatedChannel9_Query(struct NineAuthenticatedChannel9 * This,UINT InputSize,const void * pInput,UINT OutputSize,void * pOutput)34 NineAuthenticatedChannel9_Query( struct NineAuthenticatedChannel9 *This,
35                                  UINT InputSize,
36                                  const void *pInput,
37                                  UINT OutputSize,
38                                  void *pOutput )
39 {
40     STUB(D3DERR_INVALIDCALL);
41 }
42 
43 HRESULT NINE_WINAPI
NineAuthenticatedChannel9_Configure(struct NineAuthenticatedChannel9 * This,UINT InputSize,const void * pInput,D3DAUTHENTICATEDCHANNEL_CONFIGURE_OUTPUT * pOutput)44 NineAuthenticatedChannel9_Configure( struct NineAuthenticatedChannel9 *This,
45                                      UINT InputSize,
46                                      const void *pInput,
47                                      D3DAUTHENTICATEDCHANNEL_CONFIGURE_OUTPUT *pOutput )
48 {
49     STUB(D3DERR_INVALIDCALL);
50 }
51 
52 IDirect3DAuthenticatedChannel9Vtbl NineAuthenticatedChannel9_vtable = {
53     (void *)NineUnknown_QueryInterface,
54     (void *)NineUnknown_AddRef,
55     (void *)NineUnknown_Release,
56     (void *)NineAuthenticatedChannel9_GetCertificateSize,
57     (void *)NineAuthenticatedChannel9_GetCertificate,
58     (void *)NineAuthenticatedChannel9_NegotiateKeyExchange,
59     (void *)NineAuthenticatedChannel9_Query,
60     (void *)NineAuthenticatedChannel9_Configure
61 };
62