pspnet_adhocctl.h File Reference

Go to the source code of this file.

Data Structures

struct  productStruct
 Product structure. More...

Functions

int sceNetAdhocctlInit (int unk1, int unk2, struct productStruct *product)
 Initialise the Adhoc control library.
int sceNetAdhocctlTerm (void)
 Terminate the Adhoc control library.
int sceNetAdhocctlConnect (int *unk1)
 Connect to the Adhoc control.
int sceNetAdhocctlDisconnect (void)
 Disconnect from the Adhoc control.
int sceNetAdhocctlGetState (int *event)
 Get the state of the Adhoc control.


Function Documentation

int sceNetAdhocctlConnect ( int *  unk1  ) 

Connect to the Adhoc control.

Parameters:
unk1 - Pass ""
Returns:
0 on success, < 0 on error.

int sceNetAdhocctlDisconnect ( void   ) 

Disconnect from the Adhoc control.

Returns:
0 on success, < 0 on error

int sceNetAdhocctlGetState ( int *  event  ) 

Get the state of the Adhoc control.

Parameters:
event - Pointer to an integer to receive the status. Can continue when it becomes 1.
Returns:
0 on success, < 0 on error

int sceNetAdhocctlInit ( int  unk1,
int  unk2,
struct productStruct product 
)

Initialise the Adhoc control library.

Parameters:
unk1 - Set to 0x2000
unk2 - Set to 0x30
product - Pass a filled in productStruct
Returns:
0 on success, < 0 on error

int sceNetAdhocctlTerm ( void   ) 

Terminate the Adhoc control library.

Returns:
0 on success, < on error.


Generated on Tue Jul 24 15:21:25 2007 for PSPSDK-Rev2272 by  doxygen 1.5.2