zig/lib/libc/include/any-windows-any/shcore.h
Andrew Kelley 9346cd38e8 update mingw-w64 headers to latest git commit
Upstream commit dddccbc3ef50ac52bf00723fd2f68d98140aab80

Martin Storsjö suggested synchronizing with git snapshots rather than
waiting for tagged releases. Let's try this for a few releases of Zig
and see how we like it.

These headers were configured with `--with-default-msvcrt=ucrt`.

See related issue #18477.
2024-01-08 11:52:37 -07:00

33 lines
820 B
C
Vendored

/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _SHCORE_H_
#define _SHCORE_H_
#include <objidl.h>
#if NTDDI_VERSION >= NTDDI_WIN8
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
BSOS_DEFAULT = 0,
BSOS_PREFERDESTINATIONSTREAM
} BSOS_OPTIONS;
STDAPI CreateRandomAccessStreamOnFile(PCWSTR filePath, DWORD accessMode, REFIID riid, void **ppv);
STDAPI CreateRandomAccessStreamOverStream(IStream *stream, BSOS_OPTIONS options, REFIID riid, void **ppv);
STDAPI CreateStreamOverRandomAccessStream(IUnknown *randomAccessStream, REFIID riid, void **ppv);
#ifdef __cplusplus
}
#endif
#endif /* NTDDI_VERSION >= NTDDI_WIN8 */
#endif