Pepper_47_C_interfaces
Main Page
Modules
Classes
Files
File List
File Members
private
pp_file_handle.h
Go to the documentation of this file.
1
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2
* Use of this source code is governed by a BSD-style license that can be
3
* found in the LICENSE file.
4
*/
5
6
/* From private/pp_file_handle.idl modified Fri Jul 27 17:01:41 2012. */
7
8
#ifndef PPAPI_C_PRIVATE_PP_FILE_HANDLE_H_
9
#define PPAPI_C_PRIVATE_PP_FILE_HANDLE_H_
10
11
#include "
ppapi/c/pp_macros.h
"
12
13
/**
14
* @file
15
* This file provides support for native OS file handles.
16
*/
17
18
19
20
#ifdef _WIN32
21
#include<windows.h>
22
typedef
HANDLE
PP_FileHandle
;
23
static
const
PP_FileHandle
PP_kInvalidFileHandle
= NULL;
24
25
#else
26
typedef
int
PP_FileHandle
;
27
static
const
PP_FileHandle
PP_kInvalidFileHandle
= -1;
28
#endif
29
30
#endif
/* PPAPI_C_PRIVATE_PP_FILE_HANDLE_H_ */
31
pp_macros.h
PP_kInvalidFileHandle
static const PP_FileHandle PP_kInvalidFileHandle
Definition:
pp_file_handle.h:27
PP_FileHandle
int PP_FileHandle
Definition:
pp_file_handle.h:26
Generated on Wed Apr 5 2017 11:09:17 for Pepper_47_C_interfaces by
1.8.6