Game client codebase including: - CharacterActionControl: Character and creature management - GlobalScript: Network, items, skills, quests, utilities - RYLClient: Main client application with GUI and event handlers - Engine: 3D rendering engine (RYLGL) - MemoryManager: Custom memory allocation - Library: Third-party dependencies (DirectX, boost, etc.) - Tools: Development utilities 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
755 B
C++
28 lines
755 B
C++
//------------------------------------------------------------------------------
|
|
// File: keyprovider.h
|
|
//
|
|
// Desc: DirectShow sample code - describes CKeyProvider helper class
|
|
//
|
|
// Copyright (c) 1999-2001, Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
class CKeyProvider : public IServiceProvider
|
|
{
|
|
public:
|
|
//
|
|
// IUnknown interface
|
|
//
|
|
STDMETHODIMP QueryInterface(REFIID riid, void ** ppv);
|
|
STDMETHODIMP_(ULONG) AddRef();
|
|
STDMETHODIMP_(ULONG) Release();
|
|
|
|
CKeyProvider();
|
|
|
|
// IServiceProvider
|
|
STDMETHODIMP QueryService(REFIID siid, REFIID riid, void **ppv);
|
|
|
|
private:
|
|
ULONG m_cRef;
|
|
};
|