mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
912ce51ae6
Sync with trunk head (r48826) svn path=/branches/cmake-bringup/; revision=48831
58 lines
1.4 KiB
C
58 lines
1.4 KiB
C
/*
|
|
* dmksctrl.h
|
|
*
|
|
* Contributors:
|
|
* Created by Johannes Anderwald
|
|
*
|
|
* THIS SOFTWARE IS NOT COPYRIGHTED
|
|
*
|
|
* This source code is offered for use in the public domain. You may
|
|
* use, modify or distribute it freely.
|
|
*
|
|
* This code is distributed in the hope that it will be useful but
|
|
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
|
* DISCLAIMED. This includes but is not limited to warranties of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
*
|
|
*/
|
|
|
|
#ifndef _IKsControl_
|
|
#define _IKsControl_
|
|
|
|
#undef INTERFACE
|
|
#define INTERFACE IKsControl
|
|
DECLARE_INTERFACE_(IKsControl, IUnknown)
|
|
{
|
|
/* IUnknown */
|
|
STDMETHOD(QueryInterface) (THIS_ REFIID, LPVOID FAR *) PURE;
|
|
STDMETHOD_(ULONG,AddRef) (THIS) PURE;
|
|
STDMETHOD_(ULONG,Release) (THIS) PURE;
|
|
|
|
/*IKsControl*/
|
|
STDMETHOD(KsProperty)(
|
|
THIS_
|
|
IN PKSPROPERTY Property,
|
|
IN ULONG PropertyLength,
|
|
IN OUT LPVOID PropertyData,
|
|
IN ULONG DataLength,
|
|
OUT ULONG* BytesReturned
|
|
) PURE;
|
|
STDMETHOD(KsMethod)(
|
|
THIS_
|
|
IN PKSMETHOD Method,
|
|
IN ULONG MethodLength,
|
|
IN OUT LPVOID MethodData,
|
|
IN ULONG DataLength,
|
|
OUT ULONG* BytesReturned
|
|
) PURE;
|
|
STDMETHOD(KsEvent)(
|
|
THIS_
|
|
IN PKSEVENT Event OPTIONAL,
|
|
IN ULONG EventLength,
|
|
IN OUT LPVOID EventData,
|
|
IN ULONG DataLength,
|
|
OUT ULONG* BytesReturned
|
|
) PURE;
|
|
};
|
|
|
|
#endif
|