Welcome to
www.tdxlibrary.org
Home of the
t
h
e
T
D
x
_
L
i
b
r
a
r
y
...
"
R
A
D
D
i
r
e
c
t
X
"
for
C++ Builder
...
TDx_Draw_Library v2.00 Component Reference
[
TDx_DrawSurface
::PageUnlock() ] [ next:
ReleaseDC()
] [ prev:
PageLock()
]
public:
virtual bool __fastcall PageUnlock();
TD
X_
D
RAW
S
URFACE::
P
AGE
U
NLOCK() [ component method ]
Description
The TDx_DrawSurface::PageUnlock method will decrement the lock count of a locked system memory surface.
The memory can be paged out when the lock count is reduced to zero.
This method will not page unlock display memory or primary
surfaces
, doing nothing other than returning without error.
If the method call fails, the OnError event will be triggered with one of the following values:
DDERR_CANTPAGEUNLOCK
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_NOTPAGELOCKED
DDERR_SURFACELOST
Parameters
See Also
TDx_DrawSurface
TDx_DrawSurface::OnSurfaceLost()
Top
If you would like to submit additions or improvements to this page, click:
darren_john_dwyer@hotmail.com
.
Top
Welcome
|
Latest News
|
Tools
|
Demos
|
Tutorials
|
Reference
|
Register
|
Downloads
FAQ
|
Links
|
Site Information
This page is
Copyright
© 2019 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are
Trademarks
of
Borland Corporation
.
DirectX, DirectDraw, Windows, etc are
Trademarks
of
Microsoft Corporation
.