ReactOS  0.4.13-dev-259-g5ca9c9c
shelltest.h File Reference
#include <ntstatus.h>
#include <apitest.h>
#include <winreg.h>
#include <shlobj.h>
#include <shellapi.h>
#include <atlbase.h>
#include <atlcom.h>
Include dependency graph for shelltest.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define COM_NO_WINDOWS_H
 
#define WIN32_NO_STATUS
 

Functions

VOID PathToIDList (LPCWSTR pszPath, ITEMIDLIST **ppidl)
 

Macro Definition Documentation

◆ COM_NO_WINDOWS_H

#define COM_NO_WINDOWS_H

Definition at line 5 of file shelltest.h.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 8 of file shelltest.h.

Function Documentation

◆ PathToIDList()

VOID PathToIDList ( LPCWSTR  pszPath,
ITEMIDLIST **  ppidl 
)

Definition at line 83 of file shelltest.cpp.

84 {
85  CComPtr<IBindCtx> spbc;
87  ok(hr == S_OK, "hr = %lx\n", hr);
88  if (SUCCEEDED(hr))
89  {
90  hr = SHParseDisplayName(pszPath, spbc, ppidl, 0, NULL);
91  ok(hr == S_OK, "hr = %lx\n", hr);
92  }
93 }
HRESULT hr
Definition: shlfolder.c:183
#define ok(value,...)
smooth NULL
Definition: ftsmooth.c:416
LONG HRESULT
Definition: typedefs.h:77
#define S_OK
Definition: intsafe.h:59
static HRESULT CreateFileSysBindCtx(_Outptr_ IBindCtx **ppbc)
Definition: shelltest.cpp:67
HRESULT WINAPI SHParseDisplayName(LPCWSTR pszName, IBindCtx *pbc, LPITEMIDLIST *ppidl, SFGAOF sfgaoIn, SFGAOF *psfgaoOut)
Definition: pidl.c:1367
#define SUCCEEDED(hr)
Definition: intsafe.h:57

Referenced by TestCompareIDList().