Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
27407fad
Commit
27407fad
authored
Jul 05, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Jul 05, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document active object and variant functions.
parent
7a4b579b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
84 additions
and
0 deletions
+84
-0
oleaut.c
dlls/oleaut32/oleaut.c
+33
-0
variant.c
dlls/oleaut32/variant.c
+51
-0
No files found.
dlls/oleaut32/oleaut.c
View file @
27407fad
...
@@ -449,6 +449,18 @@ static WCHAR *pdelimiter = &_delimiter[0];
...
@@ -449,6 +449,18 @@ static WCHAR *pdelimiter = &_delimiter[0];
/***********************************************************************
/***********************************************************************
* RegisterActiveObject (OLEAUT32.33)
* RegisterActiveObject (OLEAUT32.33)
*
* Registers an object in the global item table.
*
* PARAMS
* punk [I] Object to register.
* rcid [I] CLSID of the object.
* dwFlags [I] Flags.
* pdwRegister [O] Address to store cookie of object registration in.
*
* RETURNS
* Success: S_OK.
* Failure: HRESULT code.
*/
*/
HRESULT
WINAPI
RegisterActiveObject
(
HRESULT
WINAPI
RegisterActiveObject
(
LPUNKNOWN
punk
,
REFCLSID
rcid
,
DWORD
dwFlags
,
LPDWORD
pdwRegister
LPUNKNOWN
punk
,
REFCLSID
rcid
,
DWORD
dwFlags
,
LPDWORD
pdwRegister
...
@@ -475,6 +487,16 @@ HRESULT WINAPI RegisterActiveObject(
...
@@ -475,6 +487,16 @@ HRESULT WINAPI RegisterActiveObject(
/***********************************************************************
/***********************************************************************
* RevokeActiveObject (OLEAUT32.34)
* RevokeActiveObject (OLEAUT32.34)
*
* Revokes an object from the global item table.
*
* PARAMS
* xregister [I] Registration cookie.
* reserved [I] Reserved. Set to NULL.
*
* RETURNS
* Success: S_OK.
* Failure: HRESULT code.
*/
*/
HRESULT
WINAPI
RevokeActiveObject
(
DWORD
xregister
,
LPVOID
reserved
)
HRESULT
WINAPI
RevokeActiveObject
(
DWORD
xregister
,
LPVOID
reserved
)
{
{
...
@@ -491,6 +513,17 @@ HRESULT WINAPI RevokeActiveObject(DWORD xregister,LPVOID reserved)
...
@@ -491,6 +513,17 @@ HRESULT WINAPI RevokeActiveObject(DWORD xregister,LPVOID reserved)
/***********************************************************************
/***********************************************************************
* GetActiveObject (OLEAUT32.35)
* GetActiveObject (OLEAUT32.35)
*
* Gets an object from the global item table.
*
* PARAMS
* rcid [I] CLSID of the object.
* preserved [I] Reserved. Set to NULL.
* ppunk [O] Address to store object into.
*
* RETURNS
* Success: S_OK.
* Failure: HRESULT code.
*/
*/
HRESULT
WINAPI
GetActiveObject
(
REFCLSID
rcid
,
LPVOID
preserved
,
LPUNKNOWN
*
ppunk
)
HRESULT
WINAPI
GetActiveObject
(
REFCLSID
rcid
,
LPVOID
preserved
,
LPUNKNOWN
*
ppunk
)
{
{
...
...
dlls/oleaut32/variant.c
View file @
27407fad
...
@@ -2431,6 +2431,17 @@ VarNumFromParseNum_DecOverflow:
...
@@ -2431,6 +2431,17 @@ VarNumFromParseNum_DecOverflow:
/**********************************************************************
/**********************************************************************
* VarCat [OLEAUT32.318]
* VarCat [OLEAUT32.318]
*
* Concatenates one variant onto another.
*
* PARAMS
* left [I] First variant
* right [I] Second variant
* result [O] Result variant
*
* RETURNS
* Success: S_OK.
* Failure: An HRESULT error code indicating the error.
*/
*/
HRESULT
WINAPI
VarCat
(
LPVARIANT
left
,
LPVARIANT
right
,
LPVARIANT
out
)
HRESULT
WINAPI
VarCat
(
LPVARIANT
left
,
LPVARIANT
right
,
LPVARIANT
out
)
{
{
...
@@ -2626,6 +2637,16 @@ HRESULT WINAPI VarCmp(LPVARIANT left, LPVARIANT right, LCID lcid, DWORD flags)
...
@@ -2626,6 +2637,16 @@ HRESULT WINAPI VarCmp(LPVARIANT left, LPVARIANT right, LCID lcid, DWORD flags)
/**********************************************************************
/**********************************************************************
* VarAnd [OLEAUT32.142]
* VarAnd [OLEAUT32.142]
*
*
* Computes the logical AND of two variants.
*
* PARAMS
* left [I] First variant
* right [I] Second variant
* result [O] Result variant
*
* RETURNS
* Success: S_OK.
* Failure: An HRESULT error code indicating the error.
*/
*/
HRESULT
WINAPI
VarAnd
(
LPVARIANT
left
,
LPVARIANT
right
,
LPVARIANT
result
)
HRESULT
WINAPI
VarAnd
(
LPVARIANT
left
,
LPVARIANT
right
,
LPVARIANT
result
)
{
{
...
@@ -3061,6 +3082,16 @@ end:
...
@@ -3061,6 +3082,16 @@ end:
/**********************************************************************
/**********************************************************************
* VarDiv [OLEAUT32.143]
* VarDiv [OLEAUT32.143]
*
*
* Divides one variant with another.
*
* PARAMS
* left [I] First variant
* right [I] Second variant
* result [O] Result variant
*
* RETURNS
* Success: S_OK.
* Failure: An HRESULT error code indicating the error.
*/
*/
HRESULT
WINAPI
VarDiv
(
LPVARIANT
left
,
LPVARIANT
right
,
LPVARIANT
result
)
HRESULT
WINAPI
VarDiv
(
LPVARIANT
left
,
LPVARIANT
right
,
LPVARIANT
result
)
{
{
...
@@ -3120,6 +3151,16 @@ HRESULT WINAPI VarDiv(LPVARIANT left, LPVARIANT right, LPVARIANT result)
...
@@ -3120,6 +3151,16 @@ HRESULT WINAPI VarDiv(LPVARIANT left, LPVARIANT right, LPVARIANT result)
/**********************************************************************
/**********************************************************************
* VarSub [OLEAUT32.159]
* VarSub [OLEAUT32.159]
*
*
* Subtract two variants.
*
* PARAMS
* left [I] First variant
* right [I] Second variant
* result [O] Result variant
*
* RETURNS
* Success: S_OK.
* Failure: An HRESULT error code indicating the error.
*/
*/
HRESULT
WINAPI
VarSub
(
LPVARIANT
left
,
LPVARIANT
right
,
LPVARIANT
result
)
HRESULT
WINAPI
VarSub
(
LPVARIANT
left
,
LPVARIANT
right
,
LPVARIANT
result
)
{
{
...
@@ -4516,6 +4557,16 @@ HRESULT WINAPI VarMod(LPVARIANT left, LPVARIANT right, LPVARIANT result)
...
@@ -4516,6 +4557,16 @@ HRESULT WINAPI VarMod(LPVARIANT left, LPVARIANT right, LPVARIANT result)
/**********************************************************************
/**********************************************************************
* VarPow [OLEAUT32.158]
* VarPow [OLEAUT32.158]
*
*
* Computes the power of one variant to another variant.
*
* PARAMS
* left [I] First variant
* right [I] Second variant
* result [O] Result variant
*
* RETURNS
* Success: S_OK.
* Failure: An HRESULT error code indicating the error.
*/
*/
HRESULT
WINAPI
VarPow
(
LPVARIANT
left
,
LPVARIANT
right
,
LPVARIANT
result
)
HRESULT
WINAPI
VarPow
(
LPVARIANT
left
,
LPVARIANT
right
,
LPVARIANT
result
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment