File Index Symbol Index

/******************************************************************************** * * * namedpipeapi.h - ApiSet Contract for api-ms-win-core-namedpipe-l1-1-0 * * * * Copyright (c) Microsoft Corporation. All rights reserved. * * * ********************************************************************************/
#ifdef _MSC_VER
#pragma once
#endif // _MSC_VER
#ifndef _NAMEDPIPE_H_
#define _NAMEDPIPE_H_
#include <apiset.h>
#include <apisetcconv.h>
#include <minwindef.h>
#include <minwinbase.h>
#ifdef __cplusplus
extern
"C"
{
#endif
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
BOOL
CreatePipe
( );
BOOL
ConnectNamedPipe
( );
BOOL
DisconnectNamedPipe
( );
BOOL
SetNamedPipeHandleState
( );
BOOL
PeekNamedPipe
( );
BOOL
TransactNamedPipe
( );
HANDLE
CreateNamedPipeW
( );
#ifdef UNICODE
#define CreateNamedPipe CreateNamedPipeW #endif
BOOL
WaitNamedPipeW
( );
#ifdef UNICODE
#define WaitNamedPipe WaitNamedPipeW #endif
#if (_WIN32_WINNT >= 0x0600)
BOOL
GetNamedPipeClientComputerNameW
( );
#endif // (_WIN32_WINNT >= 0x0600)
#ifdef UNICODE
#define GetNamedPipeClientComputerName GetNamedPipeClientComputerNameW #endif
_Must_inspect_result_
BOOL
ImpersonateNamedPipeClient
( );
#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
BOOL
GetNamedPipeInfo
( );
BOOL
GetNamedPipeHandleStateW
( );
#ifdef UNICODE
#define GetNamedPipeHandleState GetNamedPipeHandleStateW #endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion #pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
BOOL
CallNamedPipeW
( );
#ifdef UNICODE
#define CallNamedPipe CallNamedPipeW #endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#ifdef __cplusplus
}
#endif
#endif // _NAMEDPIPE_H_