MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / QueryInterface

Method QueryInterface

WinArk/SecurityInfo.cpp:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10HRESULT __stdcall SecurityInfo::QueryInterface(REFIID riid, void** ppvObj) {
11 if (riid == __uuidof(ISecurityInformation) || riid == __uuidof(IUnknown)) {
12 *ppvObj = static_cast<ISecurityInformation*>(this);
13 return S_OK;
14 }
15 return E_NOINTERFACE;
16}
17
18ULONG __stdcall SecurityInfo::AddRef(void) {
19 return 2;

Callers 1

CloneMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected