Home
last modified time | relevance | path

Searched refs:HANDLE (Results 1 – 25 of 132) sorted by relevance

123456

/aoo42x/main/sal/osl/w32/
H A Dpipeimpl.cxx54 HANDLE hReadPipe;
55 HANDLE hWritePipe;
78 Pipe( HANDLE hReadPipe, HANDLE hWritePipe );
124 ClientPipe( HANDLE hReadPipe, HANDLE hWritePipe );
136 HANDLE m_hMapping;
140 …ServerPipe( LPCTSTR lpName, HANDLE hMapping, HANDLE hSynchronize, HANDLE hReadPipe, HANDLE hWriteP…
197 (HANDLE)hFile, in CreatePipeDataMapping()
241 HANDLE hMutex = NULL; in CreatePipeDataMutex()
336 Pipe::Pipe( HANDLE hReadPipe, HANDLE hWritePipe ) : in Pipe()
524 ServerPipe::ServerPipe( LPCTSTR lpName, HANDLE hMapping, HANDLE hSynchronize, HANDLE hReadPipe, HAN… in ServerPipe()
[all …]
H A Dpipeimpl.h60 inline bool IsValidHandle( HANDLE handle ) in IsValidHandle()
70 EXPORT_PIPE_API HANDLE WINAPI CreateSimplePipeA( LPCSTR lpName );
71 EXPORT_PIPE_API HANDLE WINAPI CreateSimplePipeW( LPCWSTR lpName );
79 EXPORT_PIPE_API HANDLE WINAPI OpenSimplePipeA( LPCSTR lpName );
80 EXPORT_PIPE_API HANDLE WINAPI OpenSimplePipeW( LPCWSTR lpName );
88 EXPORT_PIPE_API HANDLE WINAPI AcceptSimplePipeConnection( HANDLE hPipe );
100 EXPORT_PIPE_API BOOL WINAPI WriteSimplePipe( HANDLE hPipe, LPCVOID lpBuffer, DWORD dwBytesToWrite, …
101 EXPORT_PIPE_API BOOL WINAPI ReadSimplePipe( HANDLE hPipe, LPVOID lpBuffer, DWORD dwBytesToRead, LPD…
102 EXPORT_PIPE_API BOOL WINAPI CloseSimplePipe( HANDLE hPipe );
H A Dsecurity.c57 HANDLE hToken,
62 HANDLE hToken,
63 HANDLE hProfile
67 HANDLE hToken,
116 HANDLE hUserToken; in osl_loginUser()
256 HANDLE hImpersonationToken = NULL; in osl_isAdministrator()
336 HANDLE hAccessToken = pSecImpl->m_hToken; in osl_getUserIdent()
590 HANDLE hProcess = GetCurrentProcess(); in osl_loadUserProfile()
655 HANDLE hProcess = GetCurrentProcess(); in osl_unloadUserProfile()
856 HANDLE hToken; in Privilege()
[all …]
H A Dmodule.cxx218 typedef HANDLE (WINAPI *CreateToolhelp32Snapshot_PROC)( DWORD dwFlags, DWORD th32ProcessID );
219 typedef BOOL (WINAPI *Module32First_PROC)( HANDLE hSnapshot, LPMODULEENTRY32 lpme32 );
220 typedef BOOL (WINAPI *Module32Next_PROC)( HANDLE hSnapshot, LPMODULEENTRY32 lpme32 );
235 HANDLE hModuleSnap = NULL; in _osl_addressGetModuleURL_Windows()
298 HANDLE hProcess,
304 HANDLE hProcess
308 HANDLE hProcess,
409 HANDLE hProcess, // handle to the process
416 HANDLE hProcess, // handle to the process
H A Dfile_dirvol.cxx307 HANDLE hDirectory;
308 HANDLE hEnumDrives;
324 static HANDLE WINAPI OpenLogicalDrivesEnum(void) in OpenLogicalDrivesEnum()
342 return pEnum ? (HANDLE)pEnum : INVALID_HANDLE_VALUE; in OpenLogicalDrivesEnum()
371 static BOOL WINAPI CloseLogicalDrivesEnum(HANDLE hEnum) in CloseLogicalDrivesEnum()
390 HANDLE hFind;
439 return (HANDLE)pDirectory; in OpenDirectory()
479 static BOOL WINAPI CloseDirectory(HANDLE hDirectory) in CloseDirectory()
627 HANDLE hEnum; in osl_openNetworkServer()
1154 HANDLE hFind; in osl_getDirectoryItem()
[all …]
H A Dsemaphor.c46 if((HANDLE)Semaphore == INVALID_HANDLE_VALUE) in osl_createSemaphore()
63 CloseHandle((HANDLE)Semaphore); in osl_destroySemaphore()
75 switch ( WaitForSingleObject( (HANDLE)Semaphore, INFINITE ) ) in osl_acquireSemaphore()
91 return (sal_Bool)(WaitForSingleObject((HANDLE)Semaphore, 0) == WAIT_OBJECT_0); in osl_tryToAcquireSemaphore()
103 return (sal_Bool)(ReleaseSemaphore((HANDLE)Semaphore, 1, NULL) != FALSE); in osl_releaseSemaphore()
H A Dprocess.cxx68 HANDLE hProcess = OpenProcess( in osl_getProcess()
100 HANDLE hProcess; in osl_getProcessInfo()
544 HANDLE fd = (HANDLE)pSocket->m_Socket; in osl_sendResourcePipe()
551 HANDLE hRemoteProc = OpenProcess(PROCESS_DUP_HANDLE, in osl_sendResourcePipe()
555 if (hRemoteProc != (HANDLE)NULL) in osl_sendResourcePipe()
557 HANDLE newFd; in osl_sendResourcePipe()
602 HANDLE fd = INVALID_HANDLE_VALUE; in osl_receiveResourcePipe()
H A Dprocimpl.cxx54 extern "C" oslFileHandle SAL_CALL osl_createFileHandleFromOSHandle( HANDLE hFile, sal_uInt32 uFlags…
246 HANDLE hTemp = NULL; in create_pipe()
518 HANDLE hInputRead = NULL; in osl_executeProcess_WithRedirectedIO()
519 HANDLE hInputWrite = NULL; in osl_executeProcess_WithRedirectedIO()
523 HANDLE hOutputRead = NULL; in osl_executeProcess_WithRedirectedIO()
524 HANDLE hOutputWrite = NULL; in osl_executeProcess_WithRedirectedIO()
528 HANDLE hErrorRead = NULL; in osl_executeProcess_WithRedirectedIO()
529 HANDLE hErrorWrite = NULL; in osl_executeProcess_WithRedirectedIO()
H A Dconditn.c69 return (sal_Bool)(SetEvent((HANDLE)Condition) != FALSE); in osl_setCondition()
79 return (sal_Bool)(ResetEvent((HANDLE)Condition) != FALSE); in osl_resetCondition()
103 … switch( MsgWaitForMultipleObjects( 1, (HANDLE *)(&Condition), FALSE, timeout, QS_SENDMESSAGE ) ) in osl_waitCondition()
135 return (sal_Bool)(WaitForSingleObject((HANDLE)Condition, 0) == WAIT_OBJECT_0); in osl_checkCondition()
H A Dpipe.c58 HANDLE m_File;
59 HANDLE m_NamedObject;
61 HANDLE m_ReadEvent;
62 HANDLE m_WriteEvent;
63 HANDLE m_AcceptEvent;
375 HANDLE Event; in osl_acceptPipe()
/aoo42x/main/sal/osl/os2/
H A Dpipeimpl.cxx49 HANDLE hReadPipe;
50 HANDLE hWritePipe;
73 Pipe( HANDLE hReadPipe, HANDLE hWritePipe );
119 ClientPipe( HANDLE hReadPipe, HANDLE hWritePipe );
131 HANDLE m_hMapping;
135 …ServerPipe( LPCTSTR lpName, HANDLE hMapping, HANDLE hSynchronize, HANDLE hReadPipe, HANDLE hWriteP…
192 (HANDLE)hFile, in CreatePipeDataMapping()
236 HANDLE hMutex = NULL; in CreatePipeDataMutex()
331 Pipe::Pipe( HANDLE hReadPipe, HANDLE hWritePipe ) : in Pipe()
519 ServerPipe::ServerPipe( LPCTSTR lpName, HANDLE hMapping, HANDLE hSynchronize, HANDLE hReadPipe, HAN… in ServerPipe()
[all …]
H A Dpipeimpl.h54 inline bool IsValidHandle( HANDLE handle ) in IsValidHandle()
64 EXPORT_PIPE_API HANDLE WINAPI CreateSimplePipeA( LPCSTR lpName );
65 EXPORT_PIPE_API HANDLE WINAPI CreateSimplePipeW( LPCWSTR lpName );
73 EXPORT_PIPE_API HANDLE WINAPI OpenSimplePipeA( LPCSTR lpName );
74 EXPORT_PIPE_API HANDLE WINAPI OpenSimplePipeW( LPCWSTR lpName );
82 EXPORT_PIPE_API HANDLE WINAPI AcceptSimplePipeConnection( HANDLE hPipe );
94 EXPORT_PIPE_API BOOL WINAPI WriteSimplePipe( HANDLE hPipe, LPCVOID lpBuffer, DWORD dwBytesToWrite, …
95 EXPORT_PIPE_API BOOL WINAPI ReadSimplePipe( HANDLE hPipe, LPVOID lpBuffer, DWORD dwBytesToRead, LPD…
96 EXPORT_PIPE_API BOOL WINAPI CloseSimplePipe( HANDLE hPipe );
/aoo42x/main/sal/systools/win32/uwinapi/
H A DResolveUnicows.cpp132 DEFINE_UNICOWS_THUNK( kernel32, HANDLE, WINAPI, CreateFileMappingW, (HANDLE,LPSECURITY_ATTRIBUTES,D…
133 …EFINE_UNICOWS_THUNK( kernel32, HANDLE, WINAPI, CreateFileW, (LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIB…
214 DEFINE_UNICOWS_THUNK( kernel32, HANDLE, WINAPI, FtpFindFirstFileW, (HANDLE,LPCWSTR,LPWIN32_FIND_DAT…
232 DEFINE_UNICOWS_THUNK( user32, HANDLE, WINAPI, GetClipboardData, (UINT) )
286 DEFINE_UNICOWS_THUNK( user32, HANDLE, WINAPI, GetPropA, (HWND,LPCSTR) )
287 DEFINE_UNICOWS_THUNK( user32, HANDLE, WINAPI, GetPropW, (HWND,LPCWSTR) )
319 DEFINE_UNICOWS_THUNK( kernel32, HANDLE, WINAPI, GopherFindFirstFileW, (HANDLE,LPCWSTR,LPCWSTR,LPVOI…
378 DEFINE_UNICOWS_THUNK( rasapi32, DWORD, APIENTRY, RasConnectionNotificationW, (HANDLE, HANDLE, DWORD…
390 DEFINE_UNICOWS_THUNK( rasapi32, DWORD, APIENTRY, RasHangUpW, (HANDLE) )
427 DEFINE_UNICOWS_THUNK( user32, HANDLE, WINAPI, RemovePropA, (HWND,LPCSTR) )
[all …]
H A Dtoolhelp.cpp26 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32First, (HANDLE hSnapshot, LPMODULEENTRY32…
32 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32FirstW, (HANDLE hSnapshot, LPMODULEENTRY3…
38 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32Next, (HANDLE hSnapshot, LPMODULEENTRY32 …
44 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32NextW, (HANDLE hSnapshot, LPMODULEENTRY32…
50 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32First, (HANDLE hSnapshot, LPPROCESSENTRY…
56 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32FirstW, (HANDLE hSnapshot, LPPROCESSENTR…
62 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32Next, (HANDLE hSnapshot, LPPROCESSENTRY3…
68 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32NextW, (HANDLE hSnapshot, LPPROCESSENTRY…
74 IMPLEMENT_THUNK( kernel32, TRYLOAD, HANDLE, WINAPI, CreateToolhelp32Snapshot, (DWORD dwFlags, DWORD…
H A DCopyFileExA.cpp42 HANDLE hSourceFile, // handle to the source file in DefCopyProgressRoutine()
43 HANDLE hDestinationFile, // handle to the destination file in DefCopyProgressRoutine()
55 HANDLE hSourceFile = CreateFileA(
68 HANDLE hTargetFile = NULL;
/aoo42x/main/desktop/win32/source/guistdio/
H A Dguistdio.inc45 DWORD passOutputToConsole(HANDLE readPipe, HANDLE console)
49 HANDLE hReadPipe = readPipe;
117 HANDLE hReadPipe = (HANDLE)pParam;
144 HANDLE hReadPipe = (HANDLE)pParam;
165 HANDLE hWritePipe = (HANDLE)pParam;
238 HANDLE hWritePipe = (HANDLE)pParam;
258 HANDLE hProcess = (HANDLE)pParam;
308 HANDLE hTemp;
323 HANDLE hTemp;
338 HANDLE hTemp;
[all …]
/aoo42x/main/vcl/inc/os2/
H A Dsalbmp.h39 #define HANDLE ULONG macro
47 HANDLE mhDIB;
48 HANDLE mhDIB1Subst;
54 HANDLE ImplGethDIB() const { return mhDIB; } in ImplGethDIB()
56 HANDLE ImplGethDIB1Subst() const { return mhDIB1Subst; } in ImplGethDIB1Subst()
58 void ImplReplacehDIB1Subst( HANDLE hDIB1Subst );
60 …static HANDLE ImplCreateDIB( const Size& rSize, USHORT nBitCount, const BitmapPalette& rPal …
61 static HANDLE ImplCreateDIB4FromDIB1( HANDLE hDIB1 );
62 static HANDLE ImplCopyDIBOrDDB( HANDLE hHdl, bool bDIB );
63 static USHORT ImplGetDIBColorCount( HANDLE hDIB );
[all …]
/aoo42x/main/setup_native/source/win32/customactions/quickstarter/
H A Dquickstarter.cxx96 inline bool IsValidHandle( HANDLE handle ) in IsValidHandle()
102 static HANDLE WINAPI _CreateToolhelp32Snapshot( DWORD dwFlags, DWORD th32ProcessID ) in _CreateToolhelp32Snapshot()
104 typedef HANDLE (WINAPI *FN_PROC)( DWORD dwFlags, DWORD th32ProcessID ); in _CreateToolhelp32Snapshot()
107 HANDLE hSnapshot = NULL; in _CreateToolhelp32Snapshot()
123 static BOOL WINAPI _Process32First( HANDLE hSnapshot, PROCESSENTRY32 *lppe32 ) in _Process32First()
125 typedef BOOL (WINAPI *FN_PROC)( HANDLE hSnapshot, PROCESSENTRY32 *lppe32 ); in _Process32First()
144 static BOOL WINAPI _Process32Next( HANDLE hSnapshot, PROCESSENTRY32 *lppe32 ) in _Process32Next()
146 typedef BOOL (WINAPI *FN_PROC)( HANDLE hSnapshot, PROCESSENTRY32 *lppe32 ); in _Process32Next()
169 HANDLE hSnapshot = _CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 ); in GetProcessImagePath_9x()
200 typedef DWORD (WINAPI *FN_PROC)( HANDLE hProcess, HMODULE hModule, LPSTR lpFileName, DWORD nSize ); in _GetModuleFileNameExA()
[all …]
/aoo42x/main/vcl/os2/source/gdi/
H A Dsalbmp.cxx73 bool Os2SalBitmap::Create( HANDLE hBitmap, bool bDIB, bool bCopyHandle ) in Create()
157 mhDIB = (HANDLE) hNewHdl; in Create()
204 HANDLE hTmp = ImplCreateDIB4FromDIB1( rSalBmp.mhDIB ); in Create()
306 void Os2SalBitmap::ImplReplacehDIB1Subst( HANDLE hDIB1Subst ) in ImplReplacehDIB1Subst()
316 USHORT Os2SalBitmap::ImplGetDIBColorCount( HANDLE hDIB ) in ImplGetDIBColorCount()
343 HANDLE hDIB = 0; in ImplCreateDIB()
388 HANDLE Os2SalBitmap::ImplCreateDIB4FromDIB1( HANDLE hDIB1 ) in ImplCreateDIB4FromDIB1()
429 return (HANDLE) pDIB4; in ImplCreateDIB4FromDIB1()
434 HANDLE Os2SalBitmap::ImplCopyDIBOrDDB( HANDLE hHdl, bool bDIB ) in ImplCopyDIBOrDDB()
436 HANDLE hCopy = 0; in ImplCopyDIBOrDDB()
[all …]
/aoo42x/main/external/mingwheaders/
H A Dmingw_headers.patch363 -WINBASEAPI HANDLE WINAPI FindFirstVolumeA(LPCSTR,DWORD);
364 -WINBASEAPI HANDLE WINAPI FindFirstVolumeW(LPCWSTR,DWORD);
365 +WINBASEAPI HANDLE WINAPI FindFirstVolumeA(LPSTR,DWORD);
366 +WINBASEAPI HANDLE WINAPI FindFirstVolumeW(LPWSTR,DWORD);
374 -WINBASEAPI BOOL WINAPI FindNextVolumeA(HANDLE,LPCSTR,DWORD);
375 +WINBASEAPI BOOL WINAPI FindNextVolumeA(HANDLE,LPSTR,DWORD);
394 WINBASEAPI HANDLE WINAPI GetProcessHeap(VOID);
398 WINBASEAPI DWORD WINAPI GetProcessId(HANDLE);
406 WINBASEAPI HANDLE WINAPI OpenSemaphoreA(DWORD,BOOL,LPCSTR);
410 WINBASEAPI HANDLE WINAPI OpenThread(DWORD,BOOL,DWORD);
[all …]
/aoo42x/main/dtrans/source/inc/
H A DMtaOleClipb.hxx101 HANDLE m_hOleThread;
103 HANDLE m_hEvtThrdReady;
111 HANDLE m_hClipboardChangedNotifierThread;
112 HANDLE m_hClipboardChangedNotifierEvents[2];
113 HANDLE& m_hClipboardChangedEvent;
114 HANDLE& m_hTerminateClipboardChangedNotifierEvent;
/aoo42x/main/sal/systools/win32/kill/
H A Dkill.cxx61 static inline bool IsValidHandle( HANDLE handle ) in IsValidHandle()
76 FARPROC WINAPI GetProcAddressEx( HANDLE hProcess, HMODULE hModule, LPCSTR lpProcName ) in GetProcAddressEx()
148 static BOOL RaiseSignalEx( HANDLE hProcess, int sig ) in RaiseSignalEx()
152 HANDLE hSnapshot = CreateToolhelp32Snapshot( TH32CS_SNAPTHREAD, 0 ); in RaiseSignalEx()
153 HANDLE hThread = 0; in RaiseSignalEx()
360 HANDLE hSnapshot = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 ); in ParseCommandArgs()
429 HANDLE hProcess; in _tmain()
/aoo42x/main/sal/inc/systools/win32/
H A Dkernel9x.h156 HANDLE hFile, // reserved, must be NULL
171 KERNEL9X_API HANDLE ( WINAPI *lpfnCreateFileW )(
178 HANDLE hTemplateFile
193 KERNEL9X_API HANDLE ( WINAPI * lpfnCreateFileW ) (
200 HANDLE hTemplateFile );
279 HANDLE hToken, // handle to user token
/aoo42x/main/fpicker/source/win32/filepicker/
H A Dasynceventnotifier.hxx90 HANDLE m_hThread;
94 HANDLE m_hEvents[2];
95 HANDLE& m_NotifyEvent;
96 HANDLE& m_ResumeNotifying;
/aoo42x/main/crashrep/source/win32/
H A Dsoreport.cpp159 HANDLE hFile = CreateFile( in _tmpfile()
461 IN HANDLE hProcess,
463 IN HANDLE hFile,
796 return SetProp( hwnd, TEXT("GrowMode"), (HANDLE)dwGrowMode ); in SetGrowMode()
1704 HANDLE hProcess = OpenProcess( PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, dwProcessId ); in WriteStackFile()
1868 HANDLE hFile = CreateFile( in FindDumpFile()
1912 HANDLE hProcess = OpenProcess( PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, dwProcessId ); in WriteDumpFile()
1927 HANDLE hFile = CreateFile( in WriteDumpFile()
2611 static HANDLE hSendingThread = NULL; in SendingStatusDialogProc()
2634 hSendingThread = (HANDLE)_beginthread( SendingThread, 0, pRequest ); in SendingStatusDialogProc()
[all …]

Completed in 117 milliseconds

123456